Writing S-Functions Previous page   Next Page
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's output port is connected to a Merge block directly or via connection type blocks). This macro returns the correct answer in and after the S-function's mdlSetWorkWidths method.

Languages

C, C++

See Also

mdlSetWorkWidths


Previous page  ssGetOffsetTime ssGetOutputPortComplexSignal Next page

© 1994-2005 The MathWorks, Inc.