MATLAB Report Generator | ![]() ![]() |
Report Format and Stylesheets
You can choose the report output format in the drop box on the left in this section. You should choose the output format according to the software or viewer you want to use to view the report. For example, if you want to use Microsoft Word 95, you should choose RTF 95.
Specify the stylesheet in the drop box on the right in this section. A stylesheet formats the report in terms of fonts, headings, etc. Stylesheets depend on the output format, that is, certain stylesheets are available for certain output formats. Each output format has a default stylesheet.
The table below shows which output format to use with different viewers or software as well as which stylesheets are available for use with each output format.
If you want to use... |
Select this output format... |
Stylesheet Options |
An HTML viewer |
web (HTML) (default) |
Web (see Web Stylesheets later in this chapter) |
SGML |
DocBook (SGML) |
None (no transform) |
Microsoft Word 95 |
Rich Text Format (RTF) 95 |
Print (see Print Stylesheets later in this chapter) |
Microsoft Word 97 |
Rich Text Format (RTF) 97 |
Print |
XML parser |
Flow Object Tree (XML) |
Print |
If you want to create a report in multiple formats without regenerating your report each time, see Converting a Generated Report Into Another Format.
Report Output Format Descriptions
Web Stylesheets
Note that all Web and Print stylesheets include a list of titles, unless otherwise shown in table. The list of titles includes a list of (titled) tables and a list of (titled) figures.
Print Stylesheets
Viewing and Printing Your Report
You can use the View report after generating option to view your report. Click on Edit... in the Generation Options section and then select this option, or click on the corresponding button in the Setup File Editor.
Note that when this option is not selected, the button appears grayed out. When report generation is complete, the viewer associated with the report format output you chose is launched, displaying the report.
If you want to print your report, select the print option from the viewer.
Autosaving the Setup File
To automatically save the setup file before you generate a report, select Save setup file on generation. Click on Edit... in the Generation Options section and then select this option, or click on the corresponding button in the Setup File Editor.
Note that when this option is deselected, the button appears grayed out.
Regenerating Images
By default, the Regenerate Images button is selected. If you deselect this option, previously generated images (Simulink, Stateflow, etc.) will not be regenerated each time you generate a report; images from the previous generation will be used. This results in faster report generation. Use this option only if you have not made any changes that could affect these images.
Click on Edit... in the Generation Options section and then select this option, or click on the corresponding button in the Setup File Editor.
Note that when this option is deselected, the button appears grayed out.
Report Description
Use the Report Description field to makes notes and comments on your setup file. This description appears at the bottom of the Setup File List.
![]() | Specifying the Report Output | Setting the Generation Status Update Priority Level | ![]() |