Specify that the use of this S-function in a referenced model prevents the referenced model from inheriting its sample time from its parent model
void ssSetModelReferenceSampleTimeDisallowInheritance(SimStruct *S)
SimStruct representing an S-Function block.
Use this macro in any callback from
mdlSetWorkWidths, in order to specify that referenced models
containing this S-function cannot inherit their sample times from their parent
model. You should only use this macro if your S-function inherits its sample time
and its output depends on the value of the inherited sample time. See Specifying Model Reference Sample Time Inheritance for more