Main Content

Arguments and Units in MATLAB Function Block

Specify argument types, sizes, and units for MATLAB® Function block

Pass, manage and specify function and parameter arguments in MATLAB Function blocks. Specify units in MATLAB Function Blocks.

Topics

Define and Modify Function Argument Types

Specify argument types for the top-level function in a MATLAB Function block.

Specify Size of MATLAB Function Block Data

Specify argument sizes for the top-level function in a MATLAB Function block.

Configure MATLAB Function Block Parameter Data Arguments

Pass Simulink® parameters and MATLAB variables as arguments to a MATLAB Function block.