User`s guide
report
11-99
• -graphical — Shows hierarchy in Report Explorer
• -debug — Enables debug mode
• -quiet — Sets error echo level to 0
• -sSTYLESHEETNAME — Sets stylesheet name (not required when choosing format)
• [report1, report2, ...] = report (rptfile1, rptfile2, ...) returns
the names of the generated reports. If the MATLAB Report Generator software
cannot generate a given report, its returned name is empty.
Note: For reports that use the Word Document format, you must have Microsoft Word
software installed on the machine that you use to generate the report.
Examples
Example 1: Setting the format of the generated report
• Generate the report testrpt in PDF format:
report testrpt -fpdf
• Generate the report testrpt in RTF format:
report testrpt -frtf
• Generate the report testrpt in Microsoft Word format:
report testrpt -fdoc
Note: Only Microsoft Windows platforms support this option.
• Generate a multipage HTML report from the figloop-tutorial report setup file:
report figloop-tutorial -fhtml -shtml-!MultiPage
Example 2: Specifying the file and path of the generated report
Generate a report named simple-report in the folder /tmp/index.html:
report ('simple-report','-o/tmp/index.html')