Repeat execution of a subsystem during a time step for a specified number of iterations
Ports & Subsystems
The For Iterator block, when placed in a Subsystem
block, repeats the execution of a subsystem during the current time step until an
iteration variable exceeds the specified iteration limit. You can use this block to
implement the block diagram equivalent of a for
loop in a programming
language.
The output of a For Iterator Subsystem block cannot be a function-call signal. Simulink® displays an error message when the model updates.