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.

Tools

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

Objects

MATLABFunctionConfigurationMATLAB Function block property configuration
MATLABFunctionReportMATLAB function report (Since R2021a)

Functions

openReportOpen MATLAB function report (Since R2021a)
closeReportClose MATLAB function report (Since R2021a)
getReportGenerate MATLAB function report (Since R2021a)

Topics

Troubleshooting

Debug MATLAB Function Blocks

Debug MATLAB Function block code during simulation.

Featured Examples