Architecture Views Gallery
Description
The Architecture Views Gallery allows you to create filtered and freeform architecture views and author sequence diagrams.
Use the View Configurations options to specify component and port filters for views, and to specify grouping criteria. Click and drag components from the Model Components browser to specify the contents of a freeform view. Select views from the View Browser and use the Component 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 through the Architecture Views Gallery.
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
openViews
with asystemcomposer.arch.Model
object as the input argument.
Examples
- Modeling System Architecture of Keyless Entry System
- Create Architectural Views Programmatically
- Create Architecture Views Interactively
- Display Component Hierarchy and Architecture Hierarchy Using Views
- Class Diagram View of Software Architectures
- Describe System Behavior Using Sequence Diagrams
- Simulate Sequence Diagrams for Traffic Light Example
Parameters
Programmatic Use
More About
Version History
Introduced in R2019b