Support non-inlined S-functions
Whether to generate code for noninlined S-functions
Model Configuration Pane: Code Generation / Interface
The Support non-inlined S-functions parameter specifies whether to generate code for noninlined S-functions.
This parameter is not relevant and, therefore, is not supported for component models configured with a service code interface.
The S-function interface requires support for floating-point and non-finite numbers. If you select this parameter, Simulink® selects the Support: floating-point numbers and Support: non-finite numbers parameters. When this parameter is selected, if you clear Support: floating-point numbers or Support: non-finite numbers, the code generator displays a warning.
Enables code generation for noninlined S-functions.
Disables code generation for noninlined S-functions. If you clear this parameter and the model includes a noninlined S-function, the code generator returns an error during the build process.
Inlining S-functions is highly advantageous in production code generation, for example, for implementing device drivers. In such cases, clear this option to enforce use of inlined S-functions for code generation.
Non-inlined S-functions require additional memory and computation resources, and can result in significant performance issues. Consider using an inlined S-function when efficiency is a concern.
|Type: character vector|
Introduced before R2006a