Main Content

Component

Add component to an architecture model

Description

Use a Component block to represent a structural or behavioral element at any level of an architecture model hierarchy. Add ports to the block to connect to other components. Define an interface for the ports and add properties using stereotypes.

Component block

To add or connect System Composer™ components:

  • Add an architecture Component block from the Modeling tab or the palette. You can also click and drag a box on the canvas, then select the Component block.

  • To add a port, select an edge of the component and choose a direction from the menu: Input, Output, or Physical

  • Click and drag the port to create a connection. Connect to another component. You can also create a new component to complete the connection.

  • To connect Component blocks to architecture or composition model root ports, drag from the component ports to the containing model boundary. When you release the connection, a root port is created at the boundary.

Ports

Input

expand all

If you connect to a source component, the interfaces on the ports are shared.

Output

expand all

If you connect to a destination component, the interfaces on the ports are shared.

Physical

expand all

If you connect to another component, the physical interfaces on the ports are shared.

More About

expand all

Introduced in R2019a