How can I copy GUI figure to the clipboard but exclude all the UI objects in MATLAB 7.6 (R2008a)?

1 view (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
In order to copy your figure to the clipboard you can use the -NOUI option with the PRINT command as follows:
1. Open your GUI.
2. Run the following code:
set(0,'showhiddenhandles','on')
print -dmeta -noui
3.The axes of the GUI figure now should be in the clipboard. You can now paste it, for example, in a word document.

More Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Products


Release

R2008a

Community Treasure Hunt

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

Start Hunting!