| Writing S-Functions | ![]() |
Specify the offset time of an output port.
Syntax
Arguments
S
SimStruct representing an S-Function block.
outputPortIdx
Index of the output port whose sample time is being set.
Sample time of an output port.
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 | ![]() |