'PaperPosition' property outputs different value when adding blocks into the Simulink model.
Show older comments
When obtaining the PaperPosition for the model, the values returned are clearly incorrect (wrong proportion). This field is necessary for the function that generates the screenshot of the model to a PDF file, resulting in unnecessary margins in the file. Current proportion:
get_param('model_wrong_proportions','PaperPosition')
ans = 9.2162 5.2044 11.2451 10.5753
After adding a Gain block and an annotation(hit brief spacebar for model's "zoom to fit"). Now the proportions are:
get_param('model_wrong_proportions','PaperPosition')
ans = 7.8061 5.0457 14.0651 10.8926
Proportions have changed, even though the inserted block is within the margins of the prior elements defined.
Accepted Answer
More Answers (0)
Categories
Find more on Sources in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!