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

Type Function Arguments

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

Size Function Arguments

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

Add Parameter Arguments

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