Function Caller
Call Simulink or exported Stateflow function
- Library:
Simulink / User-Defined Functions
Description
A Function Caller block calls and executes a function defined with a Simulink Function block or an exported Stateflow® function. Using Function Caller blocks, you can call a function from anywhere in a model or chart hierarchy.
You can select a Simulink Function or Function Caller
block to highlight blocks related to it. To show a related block in an open diagram or new
tab, pause on the ellipsis that appears after selection. Then, select Related
Blocks
from the action bar. When multiple blocks correspond to the
selected block, a list of related blocks opens. You can filter the list of related blocks by
entering a search term in the text box. After you select a related block from the list, window
focus goes to the open diagram or new tab that shows the related block.
Ports
Input
Output
Parameters
Model Examples
Block Characteristics
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|