Print slx to image - zoom

조회 수: 5 (최근 30일)
Stein Heselmans
Stein Heselmans 2017년 4월 14일
댓글: Stein Heselmans 2017년 4월 18일
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?

채택된 답변

Ankitha Kollegal Arjun
Ankitha Kollegal Arjun 2017년 4월 18일
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
Stein Heselmans
Stein Heselmans 2017년 4월 18일
thank you, the 'r0' option worked for me

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Interactive Model Editing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by