Get the number of sample times that a block has
int_T ssGetNumSampleTimes(SimStruct *S)
SimStruct representing an S-Function block.
int_T value indicating the total number of port-based and
block-based sample times. Returns
-1 if the block has unspecified
port-based sample times.
Use in any routine (except
mdlInitializeSizes) to determine the
number of sample times used by