To print the current view of your model to an image file format such as
.png
or .jpeg
, use the -device
argument with the MATLAB®
print
command. For example, to print the vdp
model to a
.png
format, use this command:
print -dpng -svdp vdp_model.png
By default, the canvas (background) of the exported model matches the color of the model. To use a white or transparent canvas for model files that you export to another file format, set the Simulink Preferences > Export preference.
On Microsoft® Windows® platforms, you can copy the current view of your model in either bitmap or metafile format. You can then paste the clipboard image to a third-party application such as word processing software.
On Macintosh platforms, when you copy a model view to the clipboard, Simulink® saves the model in a scalable format, in addition to a bitmap format. When you paste from the clipboard to an application, the application selects the format that best meets its requirements.
By default, the canvas (background) of the copied model matches the color of the model. To use a white or transparent canvas for model files that you copy to another application, set the Simulink Preferences > Clipboard preference.
To copy a Simulink model to the operating system clipboard, in the Simulink Editor, on the Format tab, select Screenshot, then the desired format.
Paste the model from the clipboard to a third-party application.