Get the object for a named interface in an interface dictionary
interface = getInterface(dictionary,name)
interface = getInterface(dictionary,name) gets the object for a named interface in the interface dictionary.
interface
dictionary
name
collapse all
Add an interface newinterface to the interface dictionary of the model. Obtain the interface object
newinterface
addInterface(arch.InterfaceDictionary,'newsignal') iface = getInterface(arch.InterfaceDictionary,'newsignal') iface = SignalInterface with properties: Dictionary: [1×1 systemcomposer.interface.Dictionary] Name: 'newsignal' Elements: [0×0 systemcomposer.interface.SignalElement] UUID: '438b5004-6cab-40eb-955b-37e0df5a914f' ExternalUID: ''
systemcomposer.interface.Dictionary
This is the data dictionary attached to the model. It could be the local dictionary of the model or an external data dictionary.
Data Types: systemcomposer.interface.Dictionary
Name of the interface specified as a string scalar or char array.
Data Types: string scalar | char array
string scalar
char array
Object for a named interface.
addElement | addInterface | removeElement
addElement
addInterface
removeElement