How to save Simulink model as picture?

506 次查看(过去 30 天)
I have a simulink model. i want to save that model into different picture formats like .jpeg, .tif etc.. Is it possible?

采纳的回答

Harish Balaga
Harish Balaga 2013-7-3
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 个评论
Bryce Moyers
Bryce Moyers 2018-9-18
It will get saved to your current working directory

请先登录,再进行评论。

更多回答(4 个)

breathi
breathi 2019-2-18
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 个评论
Jérôme
Jérôme 2023-2-13
If you want this to be automatic, a PDF can also be generated with the print function:
print('-sModelName', '-dpdf', 'model.pdf')

请先登录,再进行评论。


Azzi Abdelmalek
Azzi Abdelmalek 2013-7-3

colin yang
colin yang 2016-12-7

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

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by