Main Content

MATLAB Function Block Editor

Edit MATLAB Function block code, define variables, input triggers, and function-call outputs

Customize, edit and debug MATLAB Function block code. Define variables and other ports, such as input triggers and function-call outputs.

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
MATLABFunctionReportMATLAB function report

Functions

openReportOpen MATLAB function report
closeReportClose MATLAB function report
getReportGenerate MATLAB function report

Topics

Troubleshooting

Debug MATLAB Function Blocks

Debug MATLAB Function block code during simulation.

Featured Examples