Main Content

SS_OPTION_WORKS_WITH_CODE_REUSE

Specify this S-function supports code reuse

Description

Signifies that this S-function is compatible with the Simulink® Coder™ product subsystem code reuse feature. See S-Functions for Code Reuse (Simulink Coder) in the "Simulink Coder User's Guide" for more information. If this option is not set, the Simulink Coder product will not reuse any subsystem containing this S-Function.

Example

See timestwo.c for an example.

Version History

Introduced in R2007b