Save image for each iteration
2 次查看(过去 30 天)
显示 更早的评论
how do I save image for each iteration for any graphs to a certain file
0 个评论
采纳的回答
Azzi Abdelmalek
2014-6-15
for k=1:3
% your code
FileName=sprintf('fig%d.jpg',k)
saveas(gcf,FileName)
end
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!