MATLAB Answers

How can I insert a page break in a Matlab Report Generator PDF file

조회 수: 25(최근 30일)
Stephen Forczyk
Stephen Forczyk 2021년 1월 12일
답변: Rahul Singhal 2021년 1월 12일
I am using the Matlab report generator with the DOM object model to programmatically create PDF reports as my script executes. How can I insert a page break to insure that items such as tables appear at the top of the page they are located on

채택된 답변

Rahul Singhal
Rahul Singhal 2021년 1월 12일
Hi Stephen,
You can use mlreportgen.dom.PageBreak object or mlreportgen.dom.PageBreakBefore format to insert a page break in a PDF report.
-Rahul

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by