hi i want to save images
1 次查看(过去 30 天)
显示 更早的评论
can you help me i want to save 44 images of 44 different plots with one singal run is it possible?
采纳的回答
KSSV
2020-8-10
for i = 1:44
h=figure ;
plot(rand(1,10)) ;
saveas(h,sprintf('FIG%d.png',i)); % will create FIG1, FIG2,...
end
0 个评论
更多回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!