| Writing S-Functions | ![]() |
Specify the offset time of an output port.
Syntax
ssSetOutputPortOffsetTime(SimStruct *S,outputPortIdx,offset)
Arguments
S
SimStruct representing an S-function block.
period
Description
Use in mdlInitializeSizes (after ssSetNumOutputPorts) to specify the sample time offset value for each output port index. This should only be used if you have specified the S-function's sample times as port-based.
Languages
See Also
ssSetNumOutputPorts, ssSetOutputPortSampleTime
| ssSetOutputPortMatrixDimensions | ssSetOutputPortReusable | ![]() |