Documentation

Function-Call Subsystem

Subsystem whose execution is triggered by external function call input

  • Library:
  • Ports & Subsystems

Description

The Function-Call Subsystem block is a Subsystem block preconfigured as a starting point for creating a subsystem that executes when a control signal has a function call event.

Use Function-Call Subsystem blocks to:

  • Schedule the execution order of model components.

  • Control the rate of model component execution.

For an explation of Function-Call Subsystem blocks parameters, see Subsystem, Atomic Subsystem, Nonvirtual Subsystem, CodeReuse Subsystem

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. Selecting function-call from the Trigger type list, allows the Trigger block to accept function-call signals.

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?