Writing S-Functions    
ssSetNumSampleTimes

Specify the number of sample times that an S-Function block has.

Syntax

Arguments

S
   SimStruct representing an S-Function block.

nSampleTimes
   Number of sample times that 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

C

See Also
ssGetNumSampleTimes


  ssSetNumRWork ssSetNumSFcnParams