Writing S-Functions | ![]() ![]() |
Determine whether the output of this block is connected to a Merge block.
Syntax
int_T ssGetOutputPortBeingMerged(SimStruct *S, int_T port)
Arguments
S
SimStruct representing an S-function block or a Simulink model.
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
See Also
mdlSetWorkWidths
![]() | ssGetNumSFcnParams | ssGetOutputPortComplexSignal | ![]() |