How can I save multiple plots in a specified folder?
12 次查看(过去 30 天)
显示 更早的评论
回答(1 个)
monika shivhare
2018-6-4
To off visibility of figures on screen
set(0,'DefaultFigureVisible','off')
To save all figures in specified folder,
path='D:\figures\';
saveas(figure(i),fullfile(path,['myPlot' num2str(i) '.jpeg']));
save to a folder to save your files ion specified folder.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!