Reputation: 35
In loop when I generate images I use this string
imwrite(IWindow, gray(256), 'plane', 'tif');
to write the image of this iteration. In this loop I have z iterator.
Upvotes: 0
Views: 431
Reputation: 3071
Like that-
for z=1:num
fname=sprintf ('plane%d.tif', z);
imwrite (IWindow, gray (256), fname);
end
Upvotes: 1