Main Content
Simulink.dictionary.archdata.DataInterface
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. Data interfaces can not be composite when using an AUTOSAR platform mapping.
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
Version History
Introduced in R2023b