Create Reports

Use the Report API and DOM API to generate and customize Simulink® Report Generator™ reports

The Simulink Report Generator Report API provides classes and functions to use in programs that obtain data and information from Simulink models and Stateflow® charts.


expand all

slreportgen.finder.AnnotationFinder Find Simulink annotation objects
slreportgen.finder.BlockFinder Find Simulink blocks
slreportgen.finder.BlockResult Create block finder result object
slreportgen.finder.ChartDiagramFinder Create Stateflow chart finder
slreportgen.finder.DiagramElementFinderCreate diagram element finder object
slreportgen.finder.DiagramElementResult Create diagram element finder result object
slreportgen.finder.DiagramFinder Create finder for diagrams
slreportgen.finder.DiagramResult Create diagram result finder object
slreportgen.finder.ModelVariableFinderFinds variables used by a Simulink model
slreportgen.finder.ModelVariableResultModel variable search result object
slreportgen.finder.StateFinder Find Stateflow states
slreportgen.finder.StateflowDiagramElementFinderFind Stateflow diagram elements
slreportgen.finder.SystemDiagramFinder Create block diagram finder bus object reporter diagram reporter DocBlock reporter Element diagram snapshot and caption reporter table block reporter Function block or Stateflow MATLAB function reporter variable reporter for report creation Report Explorer-based reporter object properties reporter object properties reporter hierarchy reporter Truth table reporter


Create a Simulink Report Generator Report

Use the Report API to create a System Design Description report

Report on MATLAB Function

Report on Simulink MATLAB Function block or Stateflow MATLAB® function

Reporting on DocBlock Blocks

This example shows how to include the contents of Simulink DocBlock blocks in a Microsoft® Word report generated by the Report API.

Create a Simulink Bus Object Report

Create report of bus objects used in a Simulink model.

Testing a Wing Flutter Suppression System Design

This example illustrates use of the Simulink Report Generator to verify that a wing flutter suppression system design meets its design requirement.

Use Simulink Report Explorer Components in a Report API Report

Use RptFile reporter to add Report Explorer component content to a Report API report

Report Systems Hierarchically

Create report with model systems numbered hierarchically

Tile Simulink Diagrams

Span a Simulink diagram across multiple pages of a report

Customize Simulink Diagram Hyperlinks in HTML and PDF Reports

Customize hyperlink target for a block