MATLAB: Print slx to image – zoom

imageMATLABprintsimulink

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?

Best Answer

The 'PaperPosition' property can be used to control the size of the saved/printed figures. The following link gives more information on the same: