HTML to PDF conversion
Show older comments
Hi !
Is there a way to convert a .html file to .pdf using command lines?
Thanks in advance,
Avra
Answers (1)
Andrey Kiselnikov
on 19 Aug 2019
Edited: Andrey Kiselnikov
on 19 Aug 2019
0 votes
Hi, report generator allows to save results as a *.pdf file:
But if you still need to convert HTML to PDF by commands you can follow this way:
- Convert HTML to DOM https://www.mathworks.com/help/rptgen/ug/mlreportgen.dom.htmlfile-class.html
- Save your object as you whish: https://www.mathworks.com/help/rptgen/ug/mlreportgen.dom.document-class.html
Categories
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!