Writing S-Functions | ![]() ![]() |
Determine whether a sample time and offset value pair indicate a triggered sample time.
Syntax
Arguments
Description
Returns TRUE if both st
and ot
are equal to INHERITED_SAMPLE_TIME
. Simulink sets the sample time and offset pairs of a block or its ports (for port-based sample times) to INHERITED_SAMPLE_TIME
if the block resides in a triggered subsystem. By invoking this macro on its sample time/offset pairs, an S-function can determine whether it resides in a triggered subsystem.
Languages
![]() | ssRegisterDataType | ssSetBlockReduction | ![]() |