MATLAB: How to copy the result displayed in a Simulink scope window to the clipboard

printsimulink

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.

Best Answer

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.