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.

Classes

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
slreportgen.report.BusObjectSimulink bus object reporter
slreportgen.report.DiagramCreate diagram reporter
slreportgen.report.DocBlock DocBlock reporter
slreportgen.report.ElementDiagram Element diagram snapshot and caption reporter
slreportgen.report.LookupTableLookup table block reporter
slreportgen.report.MATLABFunctionMATLAB Function block or Stateflow MATLAB function reporter
slreportgen.report.ModelVariableModel variable reporter
slreportgen.report.ReportSuperclass for report creation
slreportgen.report.RptFileCreate Report Explorer-based reporter
slreportgen.report.SimulinkObjectPropertiesSimulink object properties reporter
slreportgen.report.StateflowObjectPropertiesStateflow object properties reporter
slreportgen.report.SystemHierarchySystem hierarchy reporter
slreportgen.report.TruthTable Truth table reporter

Topics

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