MATLAB: How to convert Words-based report generator script to HTML report

convertdocxgeneratorhtmlMATLAB Report Generatorpdfreportwords

I am using Report Generator to produce a polished PDF report which I am happy with the formatting, look and feel.
Is there any easy way to convert the Word / PDF to a series of HTML pages?

Best Answer

You can specify the Report output type in the second input argument of the creation of the 'Report' object:
For instance, this will export your report as an HTML:
>> rpt = Report('myreport', 'html');
while the following will export it as a Word document:
>> rpt = Report('myreport', 'docx');