Products & Services Solutions Academia Support User Community Company

Learn more about Simulink   

While Iterator Subsystem - Represent subsystem that executes repeatedly while condition is satisfied during simulation time step

Library

Ports & Subsystems

Description

The While Iterator Subsystem block is a Subsystem block that is preconfigured to serve as a starting point for creating a subsystem that executes repeatedly while a condition is satisfied during a simulation time step.

See the While Iterator block and Modeling Control Flow Logic for more information.

When using simplified initialization mode, you cannot place any block needing elapsed time within an Iterator Subsystem. In simplified initialization mode, Iterator subsystems do not maintain elapsed time, so Simulink will report an error if any such block (such as the Discrete-Time Integrator block) is placed within the subsystem. For more information on simplified initialization modes, see Underspecified initialization detection.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS