Simulink.dictionary.archdata.DataInterface
Data interface in Architectural Data section of Simulink data dictionary
Since R2023b
Description
Data interfaces represent information that is shared through a connector and enters or exits a component through a port. Data interfaces are composed of data elements that describe the structure of the transmitted data.
Creation
To create a Simulink.dictionary.archdata.DataInterface object, add a data
interface to an existing Simulink.dictionary.ArchitecturalData object using the addDataInterface
function.
dataInterfaceObj = addDataInterface(archDataObj,"DataInterface")dataInterfaceObj =
DataInterface with properties:
Name: 'DataInterface'
Description: ''
Elements: [0×0 Simulink.dictionary.archdata.DataElement]
Owner: [1×1 Simulink.dictionary.ArchitecturalData]Properties
Object Functions
addElement | Add data element to data interface |
destroy | Delete data element and remove from data interface |
getElement | Get data element from data interface |
removeElement | Remove data element from data interface |
show | View architectural data of Simulink data dictionary in Architectural Data Editor |
Examples
Limitations
Data interfaces cannot have elements that are typed by more than one interface when using an AUTOSAR platform mapping.