Writing S-Functions Previous page   Next Page
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


Previous page  ssSetNumRWork ssSetNumSFcnParams Next page

© 1994-2005 The MathWorks, Inc.