Main Content

Loop Context Functions

You can use these loop context functions in similar ways as shown in Filter with Loop Context Functions.

For Simulink Modeling Elements

Modeling ElementLooping ComponentFunction
Simulink® modeling elements

Block

Block Loop

RptgenSL.getReportedBlock

Signal

Signal Loop

RptgenSL.getReportedSignal

System

System Loop

RptgenSL.getReportedSystem

Model

Model Loop

RptgenSL.getReportedModel

For Stateflow Modeling Elements

Modeling ElementLooping ComponentFunction

Object

Object Loop

RptgenSF.getReportedObject

State

State Loop

RptgenSF.getReportedState

Chart

Chart Loop

RptgenSF.getReportedChart