SS_OPTION_CAN_BE_CALLED_CONDITIONALLY

Specify this S-function can be called conditionally

Description

Specifies that the S-function can be called conditionally by other blocks. The Simulink® engine uses this option to determine if the S-Function block can be moved into the execution context of the conditionally executed subsystem in which the S-function resides. See Conditional Execution Behavior in Using Simulink for more information.

Example

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

Was this topic helpful?