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 Editor | Create, edit, and debug MATLAB code in MATLAB Function blocks |
Blocks
| MATLAB Function | Include MATLAB code in Simulink models |
Objects
MATLABFunctionConfiguration | MATLAB Function block property configuration |
MATLABFunctionReport | MATLAB function report |
Functions
openReport | Open MATLAB function report |
closeReport | Close MATLAB function report |
getReport | Generate MATLAB function report |
Topics
- Create MATLAB Function Block Variables
Use MATLAB Function block variables to modify data input to the block, or to output modified data to the model.
- Manage the Input Trigger of a MATLAB Function Block
Define an input trigger for MATLAB Function blocks.
- Manage Function Call Outputs of a MATLAB Function Block
Define function call outputs for MATLAB Function blocks.
- MATLAB Function Reports
Generate and interpret MATLAB® function reports.
- Configure MATLAB Function Blocks Programmatically
Set up a MATLAB Function block and inspect it with programmatic commands.
Troubleshooting
Debug MATLAB Function block code during simulation.