Saving a file in a folder
1 回表示 (過去 30 日間)
古いコメントを表示
Hi;
How can I save a file in a folder with a .FIG and .PNG extension in Matlab?
Actually I want to save the file in a folder by writing a Matlab code.
Regards,
0 件のコメント
回答 (2 件)
MD RAQUIBUZZAMAN
2019 年 2 月 20 日
f=plot(x,y);
saveas(f,'name.fig')
or you can directly use
savefig('name.fig')
MD RAQUIBUZZAMAN
2019 年 2 月 20 日
when you open the saved file, you need to use 'openfig' or open name.fig. It will load all the text and the legends.
参考
カテゴリ
Help Center および File Exchange で Printing and Saving についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!