| Writing S-Functions | ![]() |
Specify the number of sample times that an S-function block has.
Syntax
void ssSetNumSampleTimes(SimStruct *S, int_T nSampleTimes)
Arguments
S
SimStruct representing an S-function block.
S has.
Description
Use in mdlInitializeSizes to set the number of sample times S has. This must be a positive integer greater than 0.
Languages
See Also
ssGetNumSampleTimes
| ssSetNumRunTimeParams | ssSetNumSFcnParams | ![]() |