| Writing S-Functions | ![]() |
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
See Also
ssSetInputPortOffsetTime, ssGetInputPortSampleTime
| ssGetInputPortNumDimensions | ssGetInputPortOptimOpts | ![]() |
© 1994-2005 The MathWorks, Inc.