MATLAB Answers

How to add 'copy figure' function in the figures generated by GUI?

6 views (last 30 days)
Mengliang Zhang
Mengliang Zhang on 22 Jul 2019
Answered: awezmm on 25 Jul 2019
I am working on a GUI and it will be used by someone without MATLAB installed on his computer. The GUI will generate figures and the user will copy the figure to PowerPoint for further edits. When I use MATLAB Guide fuction run the GUI, the figures have ‘Edit menu' so that I can just click 'Copy Figure' to copy it to clipboard (See below). However when I use the standalone GUI to run the program, the figures do not have the 'Edit menu' anymore. How can I add this fuction back to the figure?
Thank you in advance.
P.S. I am using R2018b.
Picture1.png

Accepted Answer

awezmm
awezmm on 25 Jul 2019
I think this is not available in the standalone executable but you can have another menu pop up that will allow copying.
Or you can just have the user save the figure.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!