How to save Simulink model as picture?

I have a simulink model. i want to save that model into different picture formats like .jpeg, .tif etc.. Is it possible?

 Risposta accettata

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 Commenti

use -djpeg & -dpng for JPEG and PNG formats
I did this. But where image get saved?
Very helpfull, thanks!
It will get saved to your current working directory

Accedi per commentare.

Più risposte (4)

breathi
breathi il 18 Feb 2019

5 voti

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 Commenti

Definitely best choice, thank you!
If you want this to be automatic, a PDF can also be generated with the print function:
print('-sModelName', '-dpdf', 'model.pdf')

Accedi per commentare.

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

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by