How do I copy the result displayed in a Simulink scope window to the clipboard?
32 views (last 30 days)
Show older comments
I would like to copy the result displayed in a Simulink scope figure window to the clipboard so I can paste it into other applications such as Microsoft PowerPoint or Word. However, I do not see any option in the scope window which allows me to copy.
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
The ability to copy the content of a Simulink scope block to the clipboard is not available in Simulink - NO VERSION.
However, as a workaround, you can get the handle to the scope figure and save the figure as a jpeg image by executing the following commands at the MATLAB command prompt:
shh = get(0,'ShowHiddenHandles');
set(0,'ShowHiddenHandles','On')
set(gcf,'PaperPositionMode','auto')
set(gcf,'InvertHardcopy','off')
saveas(gcf,'mypic.jpg')
set(0,'ShowHiddenHandles',shh)
Alternatively, you can select the scope figure window, then hit ALT+PrintScrn to copy it to a clipboard, and paste it into an application.
0 Comments
More Answers (0)
Categories
Find more on Environment and Settings 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!