- Release notes of MATLAB Report Generator in R2016a: https://de.mathworks.com/help/rptgen/release-notes.html
- rptview doc: web(fullfile(docroot, 'rptgen/ug/rptview.html'))
It's possible to use pdf extensiont in Document Class for Matlab release 2015 b? How?
2 views (last 30 days)
Show older comments
Giuseppe Roccca
on 29 Mar 2016
Commented: Joachim Schlosser
on 31 Mar 2016
* import mlreportgen.dom.*;
d = Document('mydoc','pdf');
open(d);*
but it doesn't work on Matlab 2015b
The error is:
Error using mlreportgen.dom.Document
Invalid format: "pdf"
How can I use 'pdf' extension in Matlab 2015b for Document class?
0 Comments
Accepted Answer
Joachim Schlosser
on 29 Mar 2016
The direct PDF creation including TOC was added in R2016a.
To generate PDF prior to R2016a, create the document with 'docx' instead of 'pdf' and then at the end use rptview(reportPath,'pdf') to convert to PDF.
See
2 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!