Documentation

Triggered Subsystem

Subsystem whose execution is triggered by external input

  • Library:
  • Ports & Subsystems

Description

The Triggered Subsystem block is a Subsystem block preconfigured as a starting point for creating a subsystem that executes each time the control signal has a trigger event.

Use Trigger Subsystem blocks to model:

  • A task that runs with the detection of an event.

  • An interrupt from I/O hardware.

  • A processor request to handle an exception or error.

Ports

Input

expand all

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

Use Inport blocks to get signals from the local environment.

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

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

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

Output

expand all

Placing an Outport block in a subsystem block adds an output port from the 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: single | double | int8 | int16 | int32 | uint8 | uint16 | uint32 | Boolean | fixed point | enumerated | bus

Introduced before R2006a

Was this topic helpful?