Can the default PaperType be set to something other than 'USLetter' when printing Simulink models in Simulink?

5 views (last 30 days)
If I try the following command at the MATLAB command prompt it will correctly print MATLAB figures on an A4 printer by default.
set(0,'DefaultFigurePaperType','a4')
However, when I create a new Simulink model, then go to File -> Print Setup, the PaperType is still set to USletter. I can change PaperType to A4 manually after the model is created and then save the model. I would like to ensure that A4 paper is the default PaperType rather than USletter so that I don't have to remember to change PaperType to A4 when creating a new model.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
The ability to ensure that A4 paper is the default PaperType rather than USletter is not available in Simulink.
To replicate the effects of DefaultFigurePaperType for Simulink models, add the following line in your startup.m:
set_param(0,'PaperType','A4');
All new SubSystems and BlockDiagrams created in that session will have an A4 papertype. The Simulink Root object acts as a template for object creation, which gives you the same effect as DefaultFigurePaperType.

More Answers (0)

Categories

Find more on Create Large-Scale Model Components in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!