Processing Forum
seqStart = 0;
seqEnd = 10;
for i = seqStart:seqEnd
fName = sprintf('%s%04d.jpg', fileName, i); % build the imput image name
frame = imread(fName); % read the input image
disp(sprintf('Image Name: %s\n', fName));
image( frame ); % display the current image
figure(1);
pause(1.000); % 1 milli-second pause; allow for display update...
end
end