How to save Simulink model as picture?

729 visualizzazioni (ultimi 30 giorni)
I have a simulink model. i want to save that model into different picture formats like .jpeg, .tif etc.. Is it possible?

Risposta accettata

Harish Balaga
Harish Balaga il 3 Lug 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 Commenti
Bryce Moyers
Bryce Moyers il 18 Set 2018
It will get saved to your current working directory

Accedi per commentare.

Più risposte (4)

breathi
breathi il 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 Commenti
Carlos Pérez
Carlos Pérez il 3 Nov 2020
Definitely best choice, thank you!
Jérôme
Jérôme il 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')

Accedi per commentare.


Azzi Abdelmalek
Azzi Abdelmalek il 3 Lug 2013

colin yang
colin yang il 7 Dic 2016

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.

Categorie

Scopri di più su Interactive Model Editing in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by