Simulink.interface.dictionary.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 be composite and can reference other data interfaces.
Creation
To create a Simulink.interface.dictionary.DataInterface
object, add a
data interface to an existing Simulink.interface.Dictionary
object using the addDataInterface
function.
dataInterfaceObj = addDataInterface(interfaceDictionaryObj,"interface1")
Properties
Object Functions
addElement | Add data element to data interface |
destroy | Destroy data interface and remove from interface dictionary |
getElement | Get data element from data interface |
removeElement | Remove data element from data interface |
show | Show data interface in the Interface Editor |
Examples
Version History
Introduced in R2022b