Main Content

Author Blocks Using MATLAB Functions

Add MATLAB® algorithms to Simulink®

Use the MATLAB Function block to add MATLAB functions to Simulink models. Use this block to create algorithms that are easier to write in the textual language of MATLAB than in the graphical language of Simulink. Using MATLAB Function blocks, you can generate readable, efficient, and compact C/C++ code for deployment to desktop and embedded applications.

Categories