Interface Editor
Create and author interfaces in local and shared interface data dictionaries
Since R2019a
Description
The Interface Editor allows you to define interfaces in System Composer™ that might contain attributes. In System Composer architecture models, interfaces are necessary to specify information that flows through ports between components.
Types of interfaces include:
Composite Data Interface — Represents the information that is shared through a connector and enters or exits a component through a port, A data interface can be composite, meaning that it can include data elements that describe the properties of an interface signal.
Value Type — Can be used as a port interface to define the atomic piece of data that flows through that port and has a top-level type, dimension, unit, complexity, minimum, maximum, and description. You can also assign the type of data elements in data interfaces to value types.
Physical Interface — Defines the kind of information that flows through a physical port, The same interface can be assigned to multiple ports. A physical interface bundles physical elements to describe a physical model using at least one physical domain
Service Interface — Defines service elements with function arguments for a client-server port. This interface is only available for software architectures.
You can save a locally defined model data dictionary as a shared data dictionary to reuse interface definitions across architecture models. Apply a profile to your interface dictionary to assign stereotypes to interfaces. These interfaces typed by a stereotype now contain metadata, and you can set the property values for each interface independently.
You can toggle the view for the Interface Editor depending on the locality of the interfaces:
Dictionary View — Shows shared interfaces across the model that can be reused on multiple ports
Port Interface View — Shows owned interfaces locally defined on a single port
Open the Interface Editor
System Composer toolstrip: Navigate to Modeling > Interface Editor.
Examples
Parameters
More About
Version History
Introduced in R2019a
See Also
addInterface
| removeInterface
| addElement
| removeElement
| connect
| setInterface
| addValueType
| connect
| getDestinationElement
| getSourceElement
| createInterface
| createOwnedType
| Adapter | createDictionary
| openDictionary
| saveToDictionary
| linkDictionary
| unlinkDictionary
| addReference
| removeReference