Function-Call Generator
Provide function-call events to control execution of subsystem or model
Libraries:
Simulink /
Ports & Subsystems
Description
The Function-Call Generator block provides function-call events that
execute a function-call subsystem or function-call model at the rate you specify with
the Sample time parameter. A function-call subsystem or
function-call model is a subsystem or model containing a Trigger block
with its Trigger type parameter set to
function-call
.
To iteratively execute each function-call subsystem or function-call model multiple times at each time step, use the Number of iterations parameter.
To execute multiple function-call subsystems or function-call models in a specified order, use the Function-Call Generator block with a Function-Call Split block. For an example, see Function-Call Split.
To execute a function-call subsystem or function-call model intermittently, meaning not at every time step, select the Show enable port parameter. You can then use the input at the enable port to control when the block outputs function-call events. In effect, you can turn the block on and off as needed.
Examples
Ports
Input
Output
Parameters
Block Characteristics
Data Types | |
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|
Extended Capabilities
Version History
Introduced before R2006a