Function-Call Subsystem

Description

The Function-Call Subsystem block is a Subsystem block
preconfigured as a starting point for creating a subsystem that executes when a
function-call input port receives a function-call event. A Stateflow® chart, Function-Call Generator block, or
anS-function block can provide function-call events. See Using Function-Call Subsystems.

Use Function-Call Subsystem blocks to:

Schedule the execution order of model components.

Control the rate of model component execution.

Simulink ignores a priority set on a Function-Call Subsystem block.
Instead, set the priority on a Inport block connected to the control
port. The Inport block can receive a function-call event from a
Stateflow chart, Function-Call Generator block, or an
S-function block.

Function Call — Function-call input port to a subsystem blockscalar

Placing a Trigger block in a subsystem block adds an
external input port to the block. Selecting
function-call from the Trigger
type list, changes the block to a
Function-Call port block that accepts function-call
events.