Specify this S-function can be called conditionally


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.


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

Introduced in R2007b

Was this topic helpful?