Disallow constant sample time inheritance
Prohibits the S-Function block that references this S-function
from inheriting a constant sample time. The
applies only to S-functions that use block-based sample times.
If you have Simulink® Coder™, and the S-function declares
the number of sample times as
If you have Simulink Coder, note:
If the S-function specifies this option and inherits
a constant sample time, i.e., a sample time of
the Simulink Coder product determines how to generate code
for the block based on if the block is invariant.
A block is invariant if all of its ports' signals are invariant. A signal is invariant if it has a constant value during the entire simulation. A constant block sample time does not guarantee all the ports' signals are invariant. For more information, see Inline Invariant Signals.
If the block is not invariant, the Simulink Coder product
generates code only in the
If the block is invariant, the Simulink Coder product eliminates
the block's code altogether.