Specify the number of sample times that an S-Function block has
int_T ssSetNumSampleTimes(SimStruct *S, int_T nSampleTimes)
SimStruct representing an S-Function block.
Number of sample times that
The number of sample times specified by
mdlInitializeSizes to set the number of sample times
S has. Use a positive integer greater than 0 to set
block-based sample times. Use
PORT_BASED_SAMPLE_TIMES to set
port-based sample times. See Specify S-Function Sample Times for more information.