Create Report Programs

Use the Report API and DOM API to create report programs

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 or Stateflow diagram notes reporter for report creation Report Explorer-based reporter object properties reporter object properties reporter hierarchy reporter system input and output signal 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.

Report Model Notes

Use an reporter to report on model notes.

Create a Simulink Bus Object Report

Create report of bus objects used in a Simulink model.

Report System Inputs and Outputs

Use an object to report on model and subsystem inputs and outputs.

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

Use Simulink Report Explorer Components in a Report API Report

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