printing simulink model onlyprints one block
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (1)
junny
le 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.
Catégories
En savoir plus sur Interactive Model Editing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!