Main Content

For Iterator Subsystem

Repeat subsystem execution during simulation time step for specified number of iterations

  • 库:
  • Simulink / Ports & Subsystems

  • For Iterator Subsystem block

Description

TheFor Iterator Subsystemblock is aSubsystemblock preconfigured as a starting point for creating a subsystem that repeats the execution during a simulation time step for a specified number of iterations. The number of iterations is controlled by aFor Iteratorblock inside the subsystem. For an example, seeex_for_iterator_block.

When using simplified initialization mode, if you place a block that needs elapsed time (such as aDiscrete-Time Integratorblock) in aFor Iterator Subsystemblock, Simulink®displays an error.

Ports

Input

expand all

Placing anInportblock in aSubsystemblock adds an external input port to the block. The port label matches the name of theInportblock.

UseInportblocks to get signals from the local environment.

Data Types:一半|single|double|int8|int16|int32|int64|uint8|uint16|uint32|uint64|Boolean|fixed point|enumerated|bus|image

Output

expand all

Placing anOutportblock in aSubsystemblock adds an output port from the block. The port label on theSubsystemblock is the name of theOutportblock.

UseOutportblocks to send signals to the local environment.

Data Types:一半|single|double|int8|int16|int32|int64|uint8|uint16|uint32|uint64|Boolean|fixed point|enumerated|bus|image

Block Characteristics

Data Types

Booleana|busa|doublea|enumerateda|fixed pointa|一半a|integera|singlea|stringa

Direct Feedthrough

no

Multidimensional Signals

limiteda

Variable-Size Signals

limiteda

Zero-Crossing Detection

no

aActual data type or capability support depends on block implementation.

Extended Capabilities

版本历史

Introduced before R2006a