How can I save multiple plots in a specified folder?
2 ビュー (過去 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.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!