How can I insert a page break in a Matlab Report Generator PDF file
16 views (last 30 days)
Show older comments
Stephen Forczyk
on 12 Jan 2021
Answered: Rahul Singhal
on 12 Jan 2021
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
0 Comments
Accepted Answer
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.
-Rahul
0 Comments
More Answers (0)
See Also
Categories
Find more on MATLAB Report Generator in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!