creating an input list from a large data set
古いコメントを表示
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.
採用された回答
その他の回答 (2 件)
Sachin Ganjare
2012 年 10 月 18 日
0 投票
Azzi Abdelmalek
2012 年 10 月 18 日
folder='C:\Lisajustin\vib\'
list=struct2cell(dir([folder '*.csv']));
Listdir=list(1,:)
2 件のコメント
Lisa Justin
2012 年 10 月 19 日
編集済み: Lisa Justin
2012 年 10 月 19 日
Azzi Abdelmalek
2012 年 10 月 24 日
what kind of error?
カテゴリ
ヘルプ センター および File Exchange で File Operations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!