Writing S-Functions | ![]() ![]() |
Specify the offset time of an input port.
Syntax
Arguments
S
SimStruct representing an S-Function block or a Simulink model.
inputPortIdx
Index of the input port whose offset time is being set.
Description
Use in mdlInitializeSizes
(after ssSetNumInputPorts
) to specify the sample time offset for each input port index. You can use this macro in conjunction with ssSetInputPortSampleTime
if you have specified port-based sample times for your S-function.
Languages
See Also
ssSetNumInputPorts, ssSetInputPortSampleTime
![]() | ssSetInputPortMatrixDimensions | ssSetInputPortOverWritable | ![]() |