Print Model Diagrams

Print Interactively or Programmatically

You can print a block diagram:

  • Interactively in the Simulink® Editor, by selecting File > Print

  • Programmatically, by using the MATLAB® print command

To control some additional aspects of printing a block diagram, use the set_param command with model parameters. You can use set_param with the interactive and programmatic printing interface.

Printing Options

In addition to printing a model using default settings, you can:

Canvas Color

By default, the canvas (background) of the printed model is white. To match the color of the model, set the Simulink Preferences > General > Print preference.

See Also

Related Examples

More About