Main Content

Enabled and Triggered Subsystem

Subsystem whose execution is enabled and triggered by external inputs

  • Library:
  • Simulink / Ports & Subsystems

  • Enabled and Triggered Subsystem block

Description

The Enabled and Triggered Subsystem block is a Subsystem block preconfigured as a starting point for creating a subsystem that executes when both of these conditions occur:

  • Enable control signal has a positive value.

  • Trigger control signal has a trigger value.

Use Enabled and Triggered Subsystem blocks to model:

  • Optional functionality.

  • Alternative functionality.

For an explanation of the Enabled and Triggered Subsystem block parameters, see Subsystem.

Ports

Input

expand all

Placing an Inport block in a subsystem adds an external input port to the Subsystem block. The port label matches the name of the Inport block.

Use Inport blocks to get signals from the local environment.

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

Placing an Enable block in a subsystem adds an external input port to the Subsystem block.

Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64 | fixed point

Placing a Trigger block in a subsystem adds an external input port to the Subsystem block.

Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64 | fixed point

Output

expand all

Placing an Outport block in a subsystem adds an output port from the Subsystem block. The port label on the subsystem block is the name of the Outport block.

Use Outport blocks to send signals to the local environment.

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

Block Characteristics

Data Types

Booleana | busa | doublea | enumerateda | fixed pointa | halfa | integera | singlea | stringa

Direct Feedthrough

no

Multidimensional Signals

yesa

Variable-Size Signals

yesa

Zero-Crossing Detection

no

a Actual data type or capability support depends on block implementation.

Extended Capabilities

Version History

Introduced before R2006a