- Open your model
- click on edit
- copy model to clipboard
- in paint past your image
How do I save Simlulink model to JPG or any other image formats?
158 次查看(过去 30 天)
显示 更早的评论
How do I save Simlulink model to JPG or any other image formats?
0 个评论
采纳的回答
Azzi Abdelmalek
2013-2-27
编辑:Azzi Abdelmalek
2013-2-27
Manually,
更多回答(3 个)
Harish Balaga
2013-7-3
编辑:Harish Balaga
2013-7-3
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
2 个评论
Nicolas Fernandes
2018-11-20
I've tried using this command to save in EPS format, but didn't work. Is there a way to increase the figure resolution?
Jérôme
2023-2-13
print('-sModelName', '-dpng', 'model.png', 'r0') % Screen resolution, same as without parameter
print('-sModelName', '-dpng', 'model.png', 'r300') % Resolution of 300 dots per inch
Instead of 300, you can put what you want.
Anil Chowdary Tummala
2021-2-5
You may use this to save simulink model as image with extension .tiff
print('-sModelName','-dtiff','model.tiff')
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Model Editing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!