MATLAB: How to put some specific pages in landscape view in the report generated with the simulink report generator tool

MATLABsimulinkSimulink Report Generatorsimulink report_generator landscape

Hello,
I would like to put some pages in landscape in my report generated with the simulink report generator tool. More precisely, I want to put all my snapshot extracted from my simulink model in a landscape page.
I use the file format as output Acrobat (PDF) Numbered chapters & sections. Matlab Simulink R2016.a
Best regards,
Thomas Turlin

Best Answer

1. Follow this page to create a custom Direct PDF (DOM) template from the "Default PDF Template". https://www.mathworks.com/help/rptgen/ug/create-a-custom-html-template.html
2. You will save the above custom template in a HTML file. In that file, change all occurrence of "8.5in 11in" to "11in 8.5in". Save the file.
3. Generate report by choosing File format of Direct PDF (from template) and Template of "the-name-of-your-custom-template".
4. Generate report.
Related Question