Main Content
Arguments and Units in MATLAB Function Blocks
Specify argument types, sizes, and units for MATLAB Function
blocks
Pass, manage and specify function and parameter arguments in MATLAB Function blocks. Specify units in MATLAB Function blocks.
Topics
- Define and Modify Variable Data Types
Specify argument data types for the function in a MATLAB Function block.
- Specify Size of MATLAB Function Block Variables
Specify argument sizes in a MATLAB Function block.
- Use Data in Multiple MATLAB Function Blocks by Defining Parameter Variables
Pass Simulink® parameters and MATLAB® variables as arguments to a MATLAB Function block.
- Access Data Store Data in MATLAB Function Blocks
Use global data in a MATLAB Function block.