Writing S-Functions    
ssSetCallSystemOutput

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 port that is issuing the function call

Description

Use in mdlInitializeSampleTimes to specify that the output port element specified by 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

C

See Also

ssCallSystemWithTid


 ssRegisterDataType ssSetDataTypeSize