Quantcast

Documentation Center

  • Trial Software
  • Product Updates

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.csdotproduct.c used in the Simulink model sfcndemo_sdotproductsfcndemo_sdotproduct for an example.

Was this topic helpful?