DocumentationHelp Center
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
Ha hecho clic en un enlace que corresponde a este comando de MATLAB:
Ejecute el comando introduciéndolo en la ventana de comandos de MATLAB. Los navegadores web no admiten comandos de MATLAB.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office
Get trial now