How to save Simulink model as picture?

505 views (last 30 days)
I have a simulink model. i want to save that model into different picture formats like .jpeg, .tif etc.. Is it possible?

Accepted Answer

Harish Balaga
Harish Balaga on 3 Jul 2013
use
ModelName % to open the model
print('-sModelName','-dtiff','model.tiff')
to save ModelName.mdl in TIFF format. Image name will be model.tiff
  4 Comments
Bryce Moyers
Bryce Moyers on 18 Sep 2018
It will get saved to your current working directory

Sign in to comment.

More Answers (4)

breathi
breathi on 18 Feb 2019
Since maybe others will stumble upon this thread:
I simply used "File > Print > Print" or (Ctrl+P)
which will print a high resolution PDF of the systems you want.
  2 Comments
Carlos Pérez
Carlos Pérez on 3 Nov 2020
Definitely best choice, thank you!
Jérôme
Jérôme on 13 Feb 2023
If you want this to be automatic, a PDF can also be generated with the print function:
print('-sModelName', '-dpdf', 'model.pdf')

Sign in to comment.


Azzi Abdelmalek
Azzi Abdelmalek on 3 Jul 2013

colin yang
colin yang on 7 Dec 2016

Jacob Thomas
Jacob Thomas on 14 Nov 2023
The easiest and the possible method is to resize the the modelling window and take a snap of the model.

Categories

Find more on Modeling in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!