Dynamic Reporting Components
Include report components for conditional component execution
Logical and looping components execute conditionally, determining when a child component executes or how many times a child component executes. A looping component runs its child components a specified number of times. For details, see Loop Through Context Functions.
Report Components
For Loop | Iteratively execute child components |
While Loop | Iteratively execute child components while a specified condition is true |
Logical If | Specify logical if condition |
Logical Then | Specify a then condition for a Logical If
component |
Logical Else | Specify an else condition for a Logical If
component |
Logical Elseif | Specify an elseif condition for a Logical If
component |
Block Loop | Run child components for each block in the current system, model, or signal |
System Filter | Run child components if current system meets specified conditions |
Chart Loop | Run child components for specified Stateflow charts |
Graphics Object Loop | Run child components for each Handle Graphics object open in MATLAB workspace |
Figure Loop | Apply child components to specified graphics figures |
Axes Loop | Run child components for all axes objects in MATLAB workspace |
Topics
- Create Simulink Report Generator Reports Interactively
Simulink® Report Generator™ software tasks demonstrated in this tutorial.
- Filter with Loop Context Functions
Use loop context functions to filter the modeling elements to report on and to perform special reporting on specific elements.
- Logical and Looping Components
What are logical and looping components?
- Loop Through Context Functions
Use these loop context functions for Simulink and Stateflow® modeling elements.