Hi
I am trying to save a figure in GUI, I want when the user click on a push button the below window appear.
I applied the follwoing function:
filter = {'*.m';'*.emf';'*.*'};
[file, path] = uiputfile(filter);
but when I press (save) nothing is saved. The problem is how to connect my figure to the above function.
4 Comments
Adam Danz (view profile)
Direct link to this comment
https://ww2.mathworks.cn/matlabcentral/answers/491337-save-gui-fig-by-name-from-edit-text#comment_767787
Adam Danz (view profile)
Direct link to this comment
https://ww2.mathworks.cn/matlabcentral/answers/491337-save-gui-fig-by-name-from-edit-text#comment_767793
Rik (view profile)
Direct link to this comment
https://ww2.mathworks.cn/matlabcentral/answers/491337-save-gui-fig-by-name-from-edit-text#comment_767796
Adam Danz (view profile)
Direct link to this comment
https://ww2.mathworks.cn/matlabcentral/answers/491337-save-gui-fig-by-name-from-edit-text#comment_767801
Sign in to comment.