Writing S-Functions    
ssGetOutputPortBeingMerged

Determine whether the output of this block is connected to a Merge block.

Syntax

Arguments
S
   SimStruct representing an S-function block or a Simulink model.

port
   Index of the output port

Description

Returns TRUE if this output port signal is being merged with other signals (this happens if the S-function block output port is directly or via connection type blocks is connected to a Merge block). This macro retursn the correct answer in and after the S-function's mdlSetWorkWidths method.

Languages

C, C++

See Also
mdlSetWorkWidths


 ssGetNumSFcnParams ssGetOutputPortComplexSignal