creating an input list from a large data set
Mostra commenti meno recenti
Hi! I want to create an input list from a large data set. dir .*csv displays all the csv but when i do
dir='C:\Lisajustin\vib'
Listdir=sprintf('%s%s',dir, ' *.csv');
i get error
Error using ==> sprintf
Function is not defined for 'struct' inputs.
Risposta accettata
Più risposte (2)
Sachin Ganjare
il 18 Ott 2012
0 voti
Azzi Abdelmalek
il 18 Ott 2012
folder='C:\Lisajustin\vib\'
list=struct2cell(dir([folder '*.csv']));
Listdir=list(1,:)
2 Commenti
Lisa Justin
il 19 Ott 2012
Modificato: Lisa Justin
il 19 Ott 2012
Azzi Abdelmalek
il 24 Ott 2012
what kind of error?
Categorie
Scopri di più su File Operations in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!