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 Using Simulink. For more information about Simulink S-functions, see Writing S-Functions.


 Compiler Options and Macros Simulink-Specific Options