MATLAB Compiler | ![]() ![]() |
Generating Simulink S-Functions
You can use the MATLAB Compiler to generate Simulink C MEX S-functions. This allows you to speed up Simulink models that contain MATLAB M-code that is referenced from a MATLAB Fcn block.
For more information about Simulink in general, see the Simulink documentation. For more information about Simulink S-functions, see Writing S-Functions in the Simulink documentation.
![]() | Compiler Options and Macros | Simulink Specific Options | ![]() |