| Writing S-Functions | ![]() |
Specify that an output port is issuing a function call.
Syntax
Arguments
S
SimStruct representing an S-Function block or a Simulink model.
port_index
Index of the port that is issuing the function call.
Description
Use in mdlInitializeSampleTimes to specify that the output port element specified by port_index is issuing a function call by using ssCallSystemWithTid(S,index,tid). The index specified starts at 0 and must be less than ssGetOutputPortWidth(S,0).
Languages
See Also
| ssSetBlockReduction | ssSetDataTypeSize | ![]() |