Writing S-Functions Previous page   Next Page
ssGetInputPortSampleTime

Get the sample time of an input port

Syntax

Arguments

S
   SimStruct representing an S-Function block.

inputPortIdx
   Index of port whose sample time is required.

Description

Use in any routine (except mdlInitializeSizes) to determine the sample time of an input port. You should use this macro only if you have specified the sample times as port-based.

Languages

C

See Also

ssSetInputPortSampleTime, ssGetInputPortOffsetTime


Previous page  ssGetInputPortRequiredContiguous ssGetInputPortSampleTimeIndex Next page

© 1994-2005 The MathWorks, Inc.