Print slx to image - zoom

4 vues (au cours des 30 derniers jours)
Stein Heselmans
Stein Heselmans le 14 Avr 2017
Commenté : Stein Heselmans le 18 Avr 2017
I am printing Simulink slx models to (jpeg) images, following the guide here: https://nl.mathworks.com/matlabcentral/answers/80966-how-to-save-simulink-model-as-picture
The end goal is to use the images in our software documentation (generated html).
For smaller models (and subsystems), the print implicitly zooms to have a larger image. Those images are included in the generated html, and it looks messy when not all images are at the same zoom level. I would like to print all models to max 100% zoom. How can i do that?

Réponse acceptée

Ankitha Kollegal Arjun
Ankitha Kollegal Arjun le 18 Avr 2017
The 'PaperPosition' property can be used to control the size of the saved/printed figures. The following link gives more information on the same:
  1 commentaire
Stein Heselmans
Stein Heselmans le 18 Avr 2017
thank you, the 'r0' option worked for me

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by