Paper size A4 print layout does not work any more in ML2014b

5 ビュー (過去 30 日間)
Helmut Konrad
Helmut Konrad 2015 年 9 月 7 日
コメント済み: Usha Duddu 2015 年 9 月 9 日
Dear community,
After migrating a project from ML2010b to ML2014b, I stumbled over the following problem:
I defined a common layout using the model callback functions PreLoadFcn/PostLoadFcn by setting the paper layout parameters to A4:
set_param(gcs,'PaperType','A4');
set_param(gcs,'PaperOrientation','landscape');
set_param(gcs,'PaperPositionMode','tiled');
set_param(gcs,'PaperUnits','centimeters');
set_param(gcs,'ShowGrid','off');
set_param(gcs,'ShowPageBoundaries','on');
set_param(gcs,'TiledPaperMargins',[0.1 0.1 0.1 0.1]);
In ML2010b, this leads to a perfect A4 layout. If I use the same parameters in ML2014b, the entire layout does not fit anymore. This means, that the displayed layout in 2014b is only round about half size of the layout being displayed in 2010b and all my models do not fit into the given frame any more. I already spent hours trying to fix it, but meanwhile I am perplex. Is this a known problem? I am grateful for any hint, please see the attached screenshots.
  1 件のコメント
Usha Duddu
Usha Duddu 2015 年 9 月 9 日
I understand that you have issues with respect to model rendering in MATLAB R2014b. At this point I need additional information about the issue.
1. What is the file format in which you are printing your model ? 2. Are you trying to print it from network or local printer? 3. Are you printing it from command line?
Above information would be helpful in resolving the issue.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by