How to open a dialog box when saving multiple figures?
1 回表示 (過去 30 日間)
古いコメントを表示
Hi,
I have few figures which I want to save togethe and array 'H' of their handles.
The comand:
savefig(H,File_Name)
Will save them to 'File_Name.fig' at the GUI default directory.
Is there a way to open a dialog box to specify file name, directory and even to abort the operation?
I think I covered all 'save file' options but couldn't figure it out.
Thanks,
Alon
回答 (1 件)
Subhadeep Koley
2020 年 2 月 13 日
Here is an example
close all; clc;
H = figure;
surf(peaks);
filter = {'*.fig'};
savefig(H, uiputfile(filter));
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Environment and Settings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!