addMessage
Syntax
Description
adds a message between the lifelines specified by message = addMessage(operand,sourceLifeline,sourcePort,destLifeline,destPort,label)sourceLifeline and
destinationLifeline within the operand specified by
operand, where sourcePort and
destPort are the ports on the corresponding components. The
message message is also assigned the label
message label.
specifies options using one or more name-value arguments in addition to the input arguments
in previous syntaxes. For example, to add the message = addMessage(___,After=existingElement)fragment fragment after
an existing fragment, set existingElement to a valid fragment
object.
Examples
Input Arguments
Output Arguments
More About
Version History
Introduced in R2024b
See Also
Tools
Functions
openViews|sim|addInteraction|getInteraction|getInteractions|open|addLifeline|addFragment|addOperand|addDurationConstraint|addAnnotation|findLifeline|findElement|move|move|move|destroy|next|current|reset
Objects
systemcomposer.arch.Model|systemcomposer.interaction.Interaction|systemcomposer.interaction.Iterator|systemcomposer.interaction.Lifeline|systemcomposer.interaction.MessageEvent|systemcomposer.interaction.FormalGate|systemcomposer.interaction.Message|systemcomposer.interaction.Fragment|systemcomposer.interaction.Operand|systemcomposer.interaction.DurationConstraint|systemcomposer.interaction.Annotation

