Hi,
I am using the below subroutine inside for loop to save images during every itertaion. Here, I would like to save the images in new folder. Please help me with this…
if (f>=1) && (f<=9) saveas(gcf, sprintf('S0000%d', f), 'bmp') elseif (f>=10) && (f<=99) saveas(gcf, sprintf('S000%d', f), 'bmp'); elseif (f>=100) && (f<=999) saveas(gcf, sprintf('S00%d', f), 'bmp'); else saveas(gcf, sprintf('S0%d', f), 'bmp'); end
Best Answer