Interface Editor
Create and author interfaces in local and shared interface data dictionaries
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
Add data interface
— Add new data interface
button
Add a new data interface by clicking or select one of these options from the drop-down
list:
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.
Add element to selected interface
— Add new element
button
Add a new element by clicking . If the selected interface is one of these, the new
element added is one of these types:
Composite Data Interface — Data Element
Physical Interface — Physical Element
Service Interface — Service Element — Function Arguments, which are only available for software architectures
Delete selected interface or element
— Delete interface or element
button
Delete the selected interface or element in the Interface Editor.
Import interfaces
— Import interface definitions
button
Import interfaces from these locations:
Base Workspace
MAT-file
Save interfaces and/or link dictionary
— Save interfaces or link dictionary
button
Save interfaces on the current dictionary or link to an existing dictionary. Select a specific option from the drop-down list:
Save dictionary
Save all dictionaries
Save to new dictionary
Link existing dictionary
Import profile
— Choose profile to import into data dictionary
button
Choose a profile XML file to import into the currently selected data dictionary.
Show Hide Columns
— Show and hide columns in editor
button
Show and hide columns on the Interface Editor by checking the corresponding boxes:
Type
Dimensions
Units
Complexity
Minimum
Maximum
Description
Asynchronous, available only for software architectures
View
— Choose editor view
Dictionary View (default) | Port Interface View
Choose a view for the Interface Editor to display 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
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