creating an input list from a large data set
Afficher commentaires plus anciens
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.
Réponse acceptée
Plus de réponses (2)
Sachin Ganjare
le 18 Oct 2012
0 votes
Azzi Abdelmalek
le 18 Oct 2012
folder='C:\Lisajustin\vib\'
list=struct2cell(dir([folder '*.csv']));
Listdir=list(1,:)
2 commentaires
Lisa Justin
le 19 Oct 2012
Modifié(e) : Lisa Justin
le 19 Oct 2012
Azzi Abdelmalek
le 24 Oct 2012
what kind of error?
Catégories
En savoir plus sur File Operations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!