Documentation Center

  • Trial Software
  • Product Updates

Report Generation Preferences

Report Generator Preferences Pane

To set defaults for report generation options, use the Report Generator Preferences pane. You can override these preferences with the Report Options dialog box or with individual components.

To specify report generation options for a specific report, in the Report Explorer, use the Report Options dialog box. For details, see Report Generation Options.

To open the Report Generator Preferences pane, use one of these approaches:

  • In the Report Explorer, select File > Preferences.

  • From the MATLAB® Toolstrip, in the Home tab, in the Environment section, select Preferences > Report Generator.

File Format and Extension

To specify the default file format for reports, use the Format ID preference. The default preference is web (HTML). You can select from a range of file formats, such as PDF, Microsoft® Word, or LaTex.

    Note:   For reports that use the Word Document format, you must have Microsoft Word installed on the machine that you use to generate the report.

The Extension preference reflects the standard file extension for the file format specified with the Format ID preference. You can change the extension.

Image Formats

To set the default image formats associated with the output format for a report, use the following preferences.

Preference

Purpose

Simulink ImagesSpecify the format for Simulink® images to include in the report.
Stateflow ImagesSpecify the format for Stateflow® charts to include in the report.
HG ImagesSpecify the format for Handle Graphics® images to include in the report.

    Note:   The default preferences for image formats should work in most viewing environments. However, some image formats do not display in some viewing environments.

Several components, such as the Figure Snapshot component, include an option for specifying the image format. The component setting overrides the image format preference.

Report Viewing

To control how you view a generated report, you can set the following preferences.

Preference

Purpose

View command

Specify the MATLAB command you want to use to view the report.

Each file format has an associated default view command preference. You can modify the view command (for example, to support the use of a system browser).

Visible in Report Explorer

Deselect this check box to make the current output format unavailable in the Report Explorer. For example, if your specified report format is Word document and you deselect this check box, then the Microsoft Word document format is no longer available for reports created using the Report Explorer.

Animate Report Explorer when generating reports

Select this check box if you want components in the Outline pane to be animated as the report generates. This box is selected by default.

To speed up the report generation processing, consider clearing this preference.

Reset to Defaults

To reset all of the preferences in the Output Format Options section of the Report Generator Preferences pane, click Reset to Defaults.

The Reset to Defaults button does not change the Animate Report Explorer when generating reports preference.

Was this topic helpful?