Integrate Basic Algorithms Using MATLAB Function Block
Add MATLAB® algorithms to Simulink® models
The MATLAB Function block allows you to add MATLAB functions to models for deployment to desktop and embedded processors. This capability is useful for coding algorithms that are better stated in the textual language of MATLAB than in the graphical language of Simulink.
Catégories
- MATLAB Function Block Basics
Integrate MATLAB functions into Simulink models
- Arguments and Units in MATLAB Function Blocks
Specify argument types, sizes, and units for MATLAB Function blocks
- MATLAB Function Block Editor
Edit MATLAB Function block code, define variables, input triggers, and function-call outputs
- Programming for Code Generation
Supported MATLAB features and functions, data definition, differences between generated code and MATLAB
- Performance
Guidelines for improving generated code performance