Print Models to Image File Formats

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.

Copy Model Views to Third-Party Applications

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.

  1. To copy a Simulink model to the operating system clipboard, in the Simulink Editor, on the Format tab, select Screenshot, then the desired format.

  2. Paste the model from the clipboard to a third-party application.

Related Topics