Main Content

Describe Sequence Diagrams

Specify interactions between components as sequence of message exchanges to simulate and verify system design

Author sequence diagrams to iteratively simulate and verify your architecture model behaviors. Use sequence diagrams in System Composer™ to describe interactions between components as a sequence of message exchanges. Specify communication between components with signal-based and Simulink® message-based communication.

Classes

expand all

systemcomposer.interaction.InteractionInteraction (Since R2024a)
systemcomposer.interaction.IteratorIterator utility to navigate interactions (Since R2024a)
systemcomposer.interaction.LifelineLifeline in interaction (Since R2024a)
systemcomposer.interaction.MessageEventMessage end in interaction (Since R2024a)
systemcomposer.interaction.FormalGateFormal gate in interaction (Since R2024a)
systemcomposer.interaction.MessageMessage between lifelines in interaction (Since R2024a)
systemcomposer.interaction.FragmentFragment in interaction (Since R2024a)
systemcomposer.interaction.RootFragmentRoot fragment in interaction (Since R2024a)
systemcomposer.interaction.AltFragmentAlternative fragment in interaction (Since R2024a)
systemcomposer.interaction.OptFragmentOptional fragment in interaction (Since R2024a)
systemcomposer.interaction.LoopFragmentLoop fragment in interaction (Since R2024a)
systemcomposer.interaction.SeqFragmentWeak sequencing fragment in interaction (Since R2024a)
systemcomposer.interaction.StrictFragmentStrict sequencing fragment in interaction (Since R2024a)
systemcomposer.interaction.ParFragmentParallel fragment in interaction (Since R2024a)
systemcomposer.interaction.OperandOperand in fragment in interaction (Since R2024a)
systemcomposer.interaction.DurationConstraintDuration constraint (Since R2025a)
systemcomposer.interaction.AnnotationAnnotation in interaction (Since R2024a)

Functions

expand all

openViewsOpen Architecture Views Gallery
addInteractionCreate new sequence diagram in model (Since R2024b)
getInteractionGet interaction in model (Since R2024a)
getInteractionsGet all interactions in model (Since R2024a)
openOpen interaction (Since R2024a)
addLifelineCreate new lifeline in interaction (Since R2024b)
addFragmentAdd fragment to operand (Since R2024b)
addMessageAdd message to interaction between lifelines (Since R2024b)
addOperandAdd operand to fragment (Since R2024b)
addDurationConstraintAdd duration constraint to interaction (Since R2025a)
addAnnotationCreate new annotation in interaction (Since R2024b)
findLifelineFind lifeline in interaction (Since R2024b)
findElementFind element in interaction (Since R2024b)
moveMove fragment within interaction (Since R2024b)
moveMove lifeline within interaction (Since R2024b)
moveMove message within interaction (Since R2024b)
destroyRemove model element
nextReturn next element in fragment (Since R2024a)
currentReturn currently visited element of fragment (Since R2024a)
resetReset iterator (Since R2024a)

Tools

Architecture Views GalleryCreate and manage views and sequence diagrams
Sequence ViewerVisualize messages, events, states, transitions, and functions (Since R2020b)

Topics

Featured Examples