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!