Main Content

Describe Sequence Diagrams

Author interactions between components in sequence of message exchanges to simulate and verify system design

Define sequence diagrams to iteratively verify your design with system behaviors. Use sequence diagrams integrated with System Composer™ to describe system behaviors as the interaction between components in a sequence of message exchanges. Sequence diagrams use 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.FormalGateLifeline 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.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 a message to the interaction between lifelines (Since R2024b)
addOperandAdd operand to fragment (Since R2024b)
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 an 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