How to save automatic a plot via command?
14 ビュー (過去 30 日間)
古いコメントを表示
Hello,
Doew anybody knows How to save automatic a plot in matlab via command after running the code? I hve used command like saveas but the images does not exist..
0 件のコメント
採用された回答
KALYAN ACHARJYA
2019 年 10 月 25 日
編集済み: KALYAN ACHARJYA
2019 年 10 月 25 日
%Generate_figure
saveas(gcf,'file_name.png');
The figure will save as png image format in the same working directory
For multiple figures:
for i=1:n
saveas(gcf,sprintf('%d.jpg',j));
end
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!