for k = 1:10 figure(k); plot(foo); temp=['fig',num2str(k),'.png']; saveas(gca,temp); end
In this particular code i have 10 figures. How can i save all these figures in one single folder.
figureplot
for k = 1:10 figure(k); plot(foo); temp=['fig',num2str(k),'.png']; saveas(gca,temp); end
Best Answer