MATLAB Compiler |
 |
Simulink S-Functions
The -W simulink -L C
options produce a Simulink S-function wrapper. Simulink S-function wrappers conform to the Simulink C S-function conventions. The wrappers initialize
- The
sizes
structure
- The S-function's sample times array
- The S-function's states and work vectors
- The global variables and constant pool
For more information about Simulink S-function requirements, see Writing S-Functions in the Simulink documentation.
Note
By default, the -S command does not include any functions that do not appear on the command line. Functions that do not appear on the command line would generate a callback to MATLAB. Specify -h if you want all functions called to be compiled into your MEX-file.
|
| Main Files | | C Libraries |  |