printing simulink model onlyprints one block
Show older comments
Hi,
I am trying to export a simulink blockdiagram in a high resolution picture format.
I am using the print command as follows:
print('-sResonatingSystem','-dtiff','-r600','Figure38.tiff')
or
print('-sResonatingSystem','-dpng','-r600','Figure38.png')
but this only prints one block of the entire block diagrm.
the blcok diagram is very simple and has only three blocks
I did not define any mask or somethign like that
I use matlab 2018a.
Any hint?
regards,
Afshin
Accepted Answer
More Answers (1)
junny
on 11 Sep 2025
0 votes
I had the same issue—600 DPI only saved one block. Exporting as SVG works much better, and if you need icons or PNGs later, this SVG to ICO online tool does the job right in the browser.
Categories
Find more on Interactive Model Editing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!