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

6 visualizaciones (últimos 30 días)
Helmut Konrad
Helmut Konrad el 7 de Sept. de 2015
Comentada: Usha Duddu el 9 de Sept. de 2015
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 comentario
Usha Duddu
Usha Duddu el 9 de Sept. de 2015
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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Simulink en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by