Main Content

Relationship Between Simulink Report Generator and MATLAB Report Generator

Simulink® Report Generator™ extends MATLAB® Report Generator by adding the ability to find and report on Simulink block diagrams and elements and Stateflow® charts and elements. Simulink Report Generator also provides Web Views and Embedded Web Views of Simulink models.

Finders and Reporters

The Simulink Report API has finder classes that find and report on Simulink diagrams, subsystems, blocks, annotations, and other elements. It also has finders for Stateflow, which find and report on charts, states, transitions, and other elements. All of the finders are derived from the mlreportgen.finder.Finder base class. In addition to finders, the Report API has reporter classes, which you use to customize reporting on finder results. See Report Generation for Simulink and Stateflow Elements for more information and a full list of available finders and reporters. In addition the finders and reporters, the MATLAB Report API and DOM API provide many features useful for creating Simulink reports, such as title page, table of contents, and chapter reporters.

This example shows results reported for Simulink blocks by the Report API BlockFinder class.

This example shows results reported for Stateflow transitions by the Report API StateflowDiagramElementFinder class.

Web Views and Embedded Web Views

Simulink Report Generator also provides Web Views and Embedded Web Views. A Web View is an interactive rendition of a Simulink model that you can view in a Web browser. An Embedded Web View is an HTML report that contains one or more Web Views.

This example shows a Web View.

This example shows a portion of an Embedded Web View report.

See Also

Related Topics