MATLAB: Printing “Scope” plots.

print

I am using Simulink under Matlab R2018a. When I finally get a suitable graph plot using "scope"and ask for it to be printed, I do not get the picture shown on the screen. How do I get a print of exactly what was shown on the "scope"?

Best Answer

It would be better if you can specify what is actual issue with printed output.
But I can suggest to try print to figure using File > Print To Figure.
The MATLAB figure window has better flexibility in setting the print size than the Simulink Scope window.
So, from the Figure window, click File > Print Preview. Then you can set "Use manual size and position" and use the "Best fit" option or set the margins manually.
Also, to print it with actual scope color you can use ‘Color->Background Color->same as figure’.