Create Report Programs Using the Report API
To create programs that generate reports about Simulink® models and Stateflow® charts, use the Simulink Report Generator™ Report API together with the MATLAB Report Generator Report API and DOM API. The Simulink Report Generator Report API provides classes that you can use to find and format information about Simulink models and Stateflow charts. The MATLAB Report Generator API provides classes that you can use to create and format a title page, table of contents, chapters, and other report elements.
Classes
Topics
- Create Simulink Report Generator Reports
Use the Report API to create System Design Description reports.
- Generate System Design Reports with Report API
Create a report program to generate a description of the design of a dynamic system.
- Report on MATLAB Functions
Report on Simulink MATLAB Function blocks or Stateflow MATLAB functions.
- Reporting on DocBlock Blocks
Use
slreportgen.report.DocBlock
reporters to include contents of DocBlock blocks in a report. - Report Model Notes
Use an
slreportgen.report.Notes
reporter to report on model notes. - Create Simulink Bus Object Reports
Create report of bus objects used in a Simulink model.
- Report System Inputs and Outputs
Use an
slreportgen.report.SystemIO
object to report on model and subsystem inputs and outputs. - Report Systems Hierarchically
Create report with model systems numbered hierarchically.
- Report Execution Order of Tasks and Blocks in Simulink Systems
Use an
slreportgen.report.ExecutionOrder
reporter to report on the tasks executed by a model and the order in which the blocks execute during each task. - 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 Report API Reports
Use RptFile reporter to add Report Explorer component content to a Report API report.