How do I save Simlulink model to JPG or any other image formats?

417 views (last 30 days)
How do I save Simlulink model to JPG or any other image formats?

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 27 Feb 2013
Edited: Azzi Abdelmalek on 27 Feb 2013
Manually,
  1. Open your model
  2. click on edit
  3. copy model to clipboard
  4. in paint past your image
  3 Comments

Sign in to comment.

More Answers (3)

Harish Balaga
Harish Balaga on 3 Jul 2013
Edited: Harish Balaga on 3 Jul 2013
as Azzi Abdelmalek said above, print command can be used. And one can directly save it in required fomat in single command. (no need to use imead, imwite commands). Example: use
ModelName % to open the model
print('-sModelName','-dtiff','model.tiff')
to save ModelName.mdl in TIFF format. Image name will be model.tiff
replace -dtiff with -djpeg for saving the model in jpeg format
  1 Comment
Nicolas Fernandes
Nicolas Fernandes on 20 Nov 2018
I've tried using this command to save in EPS format, but didn't work. Is there a way to increase the figure resolution?

Sign in to comment.


fathi jamila
fathi jamila on 19 Apr 2020
How can i read image SLC by matlab ?

Anil Chowdary Tummala
Anil Chowdary Tummala on 5 Feb 2021
You may use this to save simulink model as image with extension .tiff
print('-sModelName','-dtiff','model.tiff')

Tags

Products

Community Treasure Hunt

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

Start Hunting!