Save image for each iteration
    4 views (last 30 days)
  
       Show older comments
    
how do I save image for each iteration for any graphs to a certain file
0 Comments
Accepted Answer
  Azzi Abdelmalek
      
      
 on 15 Jun 2014
        for k=1:3
  % your code
  FileName=sprintf('fig%d.jpg',k)
  saveas(gcf,FileName)
end
More Answers (0)
See Also
Categories
				Find more on Image Processing Toolbox in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
