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

조회 수: 9(최근 30일)
Mengliang Zhang
Mengliang Zhang 2019년 7월 22일
답변: awezmm 2019년 7월 25일
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

채택된 답변

awezmm
awezmm 2019년 7월 25일
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.

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by