Main Content

Variables in MATLAB Function Blocks

Define block variables for MATLAB Function blocks

Define variables in MATLAB Function blocks in your function code. Adjust function variable properties to access sources of data in and outside of your Simulink® models.

Tools

MATLAB Function Block EditorCreate, edit, and debug MATLAB code in MATLAB Function blocks

Blocks

MATLAB FunctionInclude MATLAB code in Simulink models

Objects

MATLABFunctionConfigurationMATLAB Function block property configuration
Stateflow.EMChartStateflow interface to MATLAB Function block

Topics