Clear Filters
Clear Filters

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

29 views (last 30 days)
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

Accepted Answer

Rahul Singhal
Rahul Singhal on 12 Jan 2021
Hi Stephen,
You can use mlreportgen.dom.PageBreak object or mlreportgen.dom.PageBreakBefore format to insert a page break in a PDF report.

More Answers (0)


Find more on MATLAB Report Generator 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!