printing simulink model onlyprints one block
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (1)
junny
el 11 de Sept. de 2025
0 votos
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.
Categorías
Más información sobre Interactive Model Editing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!