Writing S-Functions    
ssGetInputPortOffsetTime

Get the offset time of an input port.

Syntax

Arguments

S
   SimStruct representing an S-Function block.

inputPortIdx
   Index of the port whose offset time is required.

Description

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

Languages

C

See Also
ssSetInputPortOffsetTime, ssGetInputPortSampleTime


  ssGetInputPortNumDimensions ssGetInputPortOverWritable