filelist
clear
d = dir('.');
n = length(d)-2;
m = 0;
fmt = imformats;
for k=1:n
name = d(k+2).name;
if ~d(k+2).isdir;
for j=1:length(fmt)
if strfind(lower(name),char(fmt(j).ext(1)))
sz = size(name);
m = m + 1;
files{m} = name;
fprintf('%s\n',name);
end
end
end
end
save filelist files
2013_0122_161536AA.JPG
2013_0122_161538AA.JPG
2013_0122_161544AA.JPG
2013_0122_161547AA.JPG
2013_0122_161702AA.JPG
2013_0122_161708AA.JPG
2013_0122_161717AA.JPG
2013_0122_161728AA.JPG
2013_0122_161733AA.JPG
2013_0122_161740AA.JPG
2013_0122_161743AA.JPG
2013_0122_161746AA.JPG
2013_0122_161753AA.JPG
2013_0122_161756AA.JPG
2013_0122_161759AA.JPG
montage(files);
Warning: Image is too big to fit on screen; displaying at 13%