Documentation

Create Reports Programmatically

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.

Functions

slreportgen.report.Diagram.customizeReporter Create custom diagram reporter class
slreportgen.report.Diagram.createTemplate Create diagram template
slreportgen.report.Diagram.getClassFolder Diagram class definition file location
slreportgen.report.SimulinkObjectProperties.customizeReporter Create custom Simulink object properties class
slreportgen.report.SimulinkObjectProperties.createTemplate Create Simulink object properties reporter template
slreportgen.report.SimulinkObjectProperties.getClassFolder Simulink object properties class definition file location
slreportgen.report.StateflowObjectProperties.createTemplate Create StateflowStateflow object properties reporter template
slreportgen.report.StateflowObjectProperties.customizeReporter Create custom Stateflow object properties class
slreportgen.report.StateflowObjectProperties.getClassFolder Stateflow object properties class definition file location
slreportgen.finder.DiagramElementResult.getReporter Get diagram element reporter
slreportgen.finder.DiagramResult.getReporter Get diagram reporter
slreportgen.finder.BlockResult.getReporter Get block reporter

Classes

slreportgen.report.ReportSuperclass for report creation
slreportgen.report.Diagram Create diagram reporter
slreportgen.report.SimulinkObjectPropertiesSimulink object properties reporter
slreportgen.finder.SystemDiagramFinder Create block diagram finder
slreportgen.finder.AnnotationFinder Find Simulink annotation objects
slreportgen.finder.BlockFinder Find Simulink blocks
slreportgen.finder.BlockResult Create block finder result object
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.ChartDiagramFinder Create Stateflowchart finder
slreportgen.finder.StateFinder Find Stateflowstates
slreportgen.report.StateflowObjectPropertiesStateflow object properties reporter
slreportgen.finder.StateflowDiagramElementFinderFind Stateflow diagram elements

Topics

Create a Simulink Report Generator Report Programmatically

Use the Report API to create a System Design Description report

Was this topic helpful?