Main Content

SS_OPTION_NONVOLATILE

Enable the Simulink engine to remove unnecessary S-Function blocks

Description

Specifies this S-function has no side effects. Setting this option enables the Simulink® engine to remove the S-Function block referencing this S-function during dead branch elimination, if it is not needed.

Example

See the S-function sdotproduct.c used in the Simulink model sfcndemo_sdotproduct for an example.

Version History

Introduced in R2007b