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!