| Contents | Index |
report
report (filename)
[report1, report2, ...] = report (rptfile1,
rptfile2, ...)
report (...,-oOPATH,...)
report (...,-fFORMAT, ...)
report with no arguments opens the Report Explorer. For more information on the Report Explorer, see Report Explorer
report (filename) generates a report from the specified report setup file. When specifying the name of the report setup file, omit the .rpt file name extension. You can specify one or more report setup files.
[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.
The report command also accepts the following flags, which set options for the report during the report-generation process. You can pass these flags to the report command anywhere among the input arguments.
report (...,-oOPATH,...) sets the name of the generated report. You can specify a path or a single file name for the OPATH path argument.
report (...,-fFORMAT, ...) sets the output format and file name extension of the generated report. Supported formats include:
Adobe Acrobat PDF (.pdf)
HTML (.html)
Microsoft Word (.doc)
Rich Text format (.rtf)
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. |
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
Generate a multipage HTML report from the figloop-tutorial report setup file:
report figloop-tutorial -fhtml -shtml-!MultiPage
Generate a report named simple-report in the folder /tmp/index.html:
report ('simple-report','-o/tmp/index.html')

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |