This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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.

Functions

expand all

slreportgen.report.Diagram.getSnapshotImage Diagram snapshot image file location
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.finder.DiagramResult.getReporter Get diagram reporter
slreportgen.finder.DiagramElementResult.getReporter Get diagram element reporter
slreportgen.finder.DiagramElementResult.getDiagramReporterReturns Diagram reporter for diagram element result
slreportgen.finder.BlockResult.getReporter Get block reporter
slreportgen.finder.BlockResult.getDiagramReporterReturns Diagram reporter for this block result
slreportgen.report.LookupTable.createTemplateCreate Simulink lookup table block reporter template
slreportgen.report.LookupTable.customizeReporterCreate custom LookupTable reporter class
slreportgen.report.LookupTable.getClassFolderLookup Table reporter class definition file location
slreportgen.report.MATLABFunction.createTemplateCreate MATLAB Function reporter template
slreportgen.report.MATLABFunction.customizeReporterCreate custom MATLAB Function reporter class
slreportgen.report.MATLABFunction.getClassFolderMATLAB Function reporter class definition file location
slreportgen.report.TruthTable.createTemplate Create truth table template
slreportgen.report.TruthTable.customizeReporter Create custom truth table reporter class
slreportgen.report.TruthTable.getClassFolder Location of truth table class definition file
slreportgen.report.ElementDiagram.getSnapshotImage Element diagram snapshot image file location
slreportgen.report.ElementDiagram.customizeReporter Create custom element diagram reporter class
slreportgen.report.ElementDiagram.getClassFolder Element diagram class definition file location
slreportgen.report.ElementDiagram.createTemplate Create element diagram template
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 Stateflow 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.report.RptFile.createTemplateCreate Report Explorer-based (RptFile) reporter template
slreportgen.report.RptFile.customizeReporter Create custom Report Explorer-based reporter class
slreportgen.report.RptFile.getClassFolderReport Explorer-based reporter class definition file location

Classes

slreportgen.report.ReportSuperclass for report creation
slreportgen.report.DiagramCreate diagram reporter
slreportgen.report.SimulinkObjectPropertiesSimulink object properties reporter
slreportgen.report.MATLABFunctionMATLAB Function block or Stateflow MATLAB function reporter
slreportgen.report.LookupTableLookup table block reporter
slreportgen.report.TruthTable Truth table 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.report.ElementDiagram Element diagram snapshot and caption reporter
slreportgen.finder.ChartDiagramFinder Create Stateflow chart finder
slreportgen.finder.StateFinder Find Stateflow states
slreportgen.report.StateflowObjectPropertiesStateflow object properties reporter
slreportgen.finder.StateflowDiagramElementFinderFind Stateflow diagram elements
slreportgen.report.RptFileCreate Report Explorer-based 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.

Simulink Bus Object Report Example

Create report of Simulink Bus objects

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