Documentation

Generate Reports Without Customizing

You can use Simulink® Report Generator™ without customizing reports by using:

  • Predefined standard reports

  • Report API objects

  • Web view

Predefined Standard Reports

Simulink Report Generator comes with two predefined, standard reports for Simulink:

  • System Design Description

  • Design Requirements (requires Simulink Requirements™ )

You generate these reports using the File > Reports menu in the Simulink Editor. The System Design Description report provides summary or detailed information about a system design represented by a model. You can choose report options by using the report dialog box, or you can create a customized version using the Report Explorer. You can use the System Design Description report setup file as a starting point for creating a setup file for your own report. For details, see Generate a System Design Description Report.

The Design Requirements report includes information about all the requirements associated with the model and its objects. You must have Simulink Requirements installed to use the Design Requirements report. For details, see Customize Requirements Traceability Report for Model (Simulink Requirements).

Report API

The Report API, which is based on the DOM API, is a set of document objects, such as title page, table of contents, chapter, and figure objects, that do the work of dozens of lines of code based on DOM objects. As a result, the Report API greatly reduces the amount of code needed to generate reports. As with the DOM API, you can add content to your report in the form of built-in MATLAB objects, such as strings, number and character arrays, and cell arrays. The Report API converts these to DOM objects before adding them to your report. You can also use text, paragraph and other DOM objects directly to format the content that you add to your report.

Web View

A Web view is a view of a model that you can explore in a Web browser. Web views are useful for presenting models to audiences and for sharing models with colleagues who do not have MathWorks® products installed. You can use Web views to navigate subsystems and see properties of blocks and signals. For details, see Export Models to Web View Files.

Was this topic helpful?