Remove a signal interface element
removeElement(interface,elementName)
example
removeElement(interface,elementName) removes an element from a signal interface.
interface
elementName
collapse all
Add an interface 'newInterface' to the interface dictionary of the model and add an element with type double to it, then remove the element.
'newInterface'
double
interface = addInterface(arch.InterfaceDictionary,'newInterface'); element = addElement(interface,'newElement','Type',double); removeElement(interface,'newInterface')
Interface object, specified as a systemcomposer.interface.SignalInterface object.
systemcomposer.interface.SignalInterface
Name of element to be removed, specified as a character vector.
Data Types: char
char
addElement | getElement
addElement
getElement