GUI Matlab. SAVE button!
4 views (last 30 days)
Show older comments
Hello, I'm creating a GUI Matlab and what I want to do is save the final result of the GUI as image. I want a picture of my graphical interface complete and I would like to choose later the image name and the folder. If possible I would get through a SAVE button placed in the same GUI. Thank you!
Answers (2)
Jan
on 16 Sep 2015
A general answer to a general question:
- Create a button with the string 'Save'
- Let its callback call a function for saving the figure
- Use the print command to save the figure in the wanted format.
Many users have success with export_fig from the FileExchange, e.g. for PDF output. But it will work without this tool also.
If you have a specific question, please ask again.
See Also
Categories
Find more on Display Image in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!