function MyGetFiles(F)
path=F;
filelist=dir(fullfile(path,'*.JPG'));
n=length(filelist);
for i=1:n
f=strcat(path,filelist(i).name);
disp(f);
end
MyGetFiles('N:/MAT/img/eye/');
matlab 文件遍历
阅读 69
2022-05-19
function MyGetFiles(F)
path=F;
filelist=dir(fullfile(path,'*.JPG'));
n=length(filelist);
for i=1:n
f=strcat(path,filelist(i).name);
disp(f);
end
MyGetFiles('N:/MAT/img/eye/');
相关推荐
精彩评论(0)