HELP GUI!!! Create a SAVE Button!
9 views (last 30 days)
Show older comments
Hello, I am creating a GUI Matlab and what I want to do is save the final result of the GUI as image. For instance, if I input names or numbers in Edit Text, if I upload pictures, etc., I would like to see them. I want a picture of my graphical interface complete. If possible I would get through a SAVE button placed in the same GUI. Thank you!
0 Comments
Accepted Answer
Tim Jackman
on 15 Sep 2015
Create a push button, and within the callback function for the button (the function that executes when the button is pressed), use the "saveas" command to save the current figure as an image.
saveas(gcf,'output.png')
See Also
Categories
Find more on Printing and Saving 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!