Load Report Setup into MATLAB Workspace

To load a setup into the MATLAB® workspace without loading it into the Report Explorer, use the rptgen.loadRpt function.

You can then modify the setup programmatically. For example, the following code loads a setup into memory, sets its output type to PDF, and generates a report.

setupRoot = rptgen.loadRpt('simple-report');
setupRoot.Format = 'pdf-fop';
setupRoot.execute;
Was this topic helpful?