Main Content

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 Context Functions.

Report Components

For LoopIteratively execute child components
While LoopIteratively execute child components while a specified condition is true
Logical IfSpecify logical if condition
Logical ThenSpecify a then condition for a Logical If component
Logical ElseSpecify an else condition for a Logical If component
Logical ElseifSpecify an elseif condition for a Logical If component
Block LoopRun child components for each block in the current system, model, or signal
System FilterRun child components if current system meets specified conditions
Chart LoopRun child components for specified Stateflow charts
Graphics Object LoopRun child components for each Handle Graphics object open in MATLAB workspace
Figure LoopApply child components to specified graphics figures
Axes LoopRun child components for all axes objects in MATLAB workspace


Create a Simulink Report Generator Report 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 Context Functions

Use these loop context functions for Simulink and Stateflow® modeling elements.