How to open a dialog box when saving multiple figures?
조회 수: 3 (최근 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!