MATLAB Report Generator | ![]() ![]() |
You can use Stateflow components to include information on Stateflow models in your report.
Stateflow components have the following parent/child relationships.
Chart Loop. This component runs its children for each Stateflow chart that you choose. The Chart Loop component can have the Simulink Model Loop, System Loop, Signal Loop, or Block Loop component as its parent. The Chart Loop cannot have any Stateflow component as its parent.
Stateflow Linking Anchor. This component acts like a link in a paragraph or title; when there is a link that is being followed, the Stateflow Linking Anchor shows the Report Generator where the link should go. This component must have the Stateflow Loop, Chart Loop, or Object Report component as its parent.
Stateflow Name (Chart). This component inserts the name of the Stateflow object specified by its parent component into the report. This component must have the Stateflow Loop, Chart Loop, or Object Report component as its parent.
Object Report. This component is a filter that runs its children only if the current object type (set by the parent Stateflow Loop) matches the component's object type. The Object Report component must have the Stateflow Loop component as its parent.
Object Summary Table. This component shows properties or parameters of the selected Stateflow objects in a table. The Object Summary Table Component can have the Chart Loop or any Simulink looping component (Model Loop, System Loop, Block Loop, or Signal Loop) as its parent.
Property Table. This component inserts a property name/property value table for a Stateflow object into the report. The Stateflow Property Table component must have the Object Report component as its parent.
Stateflow Snapshot (chart). This component inserts an image of a Stateflow object into the report. The Snapshot component must have the Object Report component as its parent and is only valid for certain object types.
Stateflow Loop. This component runs its children for each Stateflow object defined by its parent component. The Stateflow Loop component must have the Simulink Model Loop, System Loop, Signal Loop, Block Loop or Chart Loop component as its parent.
![]() | System Snapshot | Chart Loop | ![]() |