Writing S-Functions Previous page   Next Page
ssGetOutputPortSampleTime

Get the sample time of an output port

Syntax

Arguments

S
   SimStruct representing an S-Function block.

outputPortIdx
   Index of an output port.

Description

Use in any routine (except mdlInitializeSizes) to determine the sample time of an output port. This macro should only be used if you have specified port-based sample times.

Languages

C

See Also

ssSetOutputPortSampleTime


Previous page  ssGetOutputPortRealSignal ssGetOutputPortSignal Next page

© 1994-2005 The MathWorks, Inc.