Print slx to image - zoom

5 views (last 30 days)
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?

Accepted Answer

Ankitha Kollegal Arjun
Ankitha Kollegal Arjun on 18 Apr 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 Comment
Stein Heselmans
Stein Heselmans on 18 Apr 2017
thank you, the 'r0' option worked for me

Sign in to comment.

More Answers (0)

Categories

Find more on Interactive Model Editing in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!