Generate Reports
You can generate a MATLAB® Report Generator™ report from the Report Explorer or with a MATLAB command. Before you generate a report, you can set options to control aspects of report generation processing such as the output file format (PDF, HTML, or Microsoft® Word) and the output file location. For details, see Generate a Report.
Functions
report | Generate reports from Report Explorer setup files |
rptconvert | Convert DocBook XML files generated by Report Explorer to formatted reports |
docview | View or perform operations on Word document |
rpt2api | Convert Report Explorer setup files to MATLAB programs (Since R2022b) |
Report Components
Stop Report Generation | Halt report generation |
Time/Date Stamp | Insert time and date of report generation into report |
Evaluate MATLAB Expression | Evaluate specified MATLAB expression |
Comment | Insert comment into XML source file created by report generation process |
Topics
- Select Report Generation Options
Set options for generated reports using standard Report Explorer reports.
- Generate a Report
Generate a Report Generator report either programmatically or interactively.
- Report Form
Set options for generated reports using form-based Report Explorer reports.
- Generate a Report Using a Template
In Report Explorer, in the outline pane, select the top-level component of the report.
- Create a Report Log File
A log file describes the report setup file report-generation settings and components.
- Change Report Locale
Versions 2.0 and later of the MATLAB Report Generator and Simulink® Report Generator software use the locale (system language settings) through the Oracle® Java® interface; therefore, they should use the language specified on your system.
- Convert XML Documents to Different File Formats
Convert XML source files to generate a given report in a different format.
- Report Generation Preferences
To set defaults for report generation options, use the Report Generator Preferences pane.
Troubleshooting
Troubleshooting Report Generation Issues
How to troubleshoot report-generation issues.