Architecture Views Gallery
Create and manage views and sequence diagrams
Description
The Architecture Views Gallery allows you to create views and author sequence diagrams.
Use the View Configurations options to specify filters for views, and to specify grouping criteria. Click and drag components from the Model Components browser to add or remove components from your view. Select views from the View Browser and use the View Properties options to specify a name, color, and description for a view.
Switch between these types of view diagrams:
Component Diagram — Display components, ports, and connectors based on how the model is structured.
Component Hierarchy — Display components in tree form with parents above children. In a component hierarchy view, each referenced model is represented as many times as it is used.
Architecture Hierarchy — Display unique component architecture types and their relationships using composition connections. In an architecture hierarchy view, each referenced model is represented only once.
Class Diagram — Display unique architecture types of the software components optionally with software methods and properties, only available for software architecture models.
You can also link and edit requirements for views and sequence diagrams through the Architecture Views Gallery.
In R2024b: You can add, edit, and delete components, ports, and connectors in your System Composer™ model from the component diagram view. For more information, see Author Architecture Models Through Component Diagram Views.
To create a new sequence diagram, click New > Sequence Diagram. Select existing sequence diagrams from the View Browser and use the Sequence Diagram Properties options to specify a name for the sequence diagram. To add a lifeline, click and drag from the Model Components browser. Alternatively, select Component > Add Lifeline from the menu and click the down arrow to select a component to be represented by the lifeline. Click and drag from the vertical dotted lines coming down from one lifeline to another to author a message that represents a connection between two ports. To confirm the consistency of the sequence diagram, click Check Consistency. Then, either push changes to the architecture by clicking Create in Architecture, or pull changes in from the architecture to the sequence diagram by clicking Repair.
Open the Architecture Views Gallery
System Composer toolstrip: Navigate to Modeling > Architecture Views.
System Composer toolstrip: Navigate to Modeling > Sequence Diagram.
MATLAB® Command Window: Enter
openViewswith asystemcomposer.arch.Modelobject as the input argument.
Examples
- Create Custom Views Using Architecture Views Gallery
- Class Diagram View of Software Architectures
- Modeling System Architecture of Keyless Entry System
- Use Interface Editor in Views
- Group Ports in Component Diagram Views
- Pivot Between Lifelines and Components in Views Gallery
- Describe System Behavior Using Sequence Diagrams
- Simulate Sequence Diagrams for Traffic Light Example
Parameters
Programmatic Use
More About
Version History
Introduced in R2019b
