addElement
Add element
Description
adds an element to an interface with default properties.element = addElement(interface,name)
To remove an element from an interface, use the removeElement function.
sets the properties of the element using name-value arguments.element = addElement(interface,name,Name=Value)
Examples
Input Arguments
Name-Value Arguments
Output Arguments
More About
Version History
Introduced in R2019a
See Also
Functions
addInterface|moveInterface|addPhysicalInterface|removeInterface|createInterface|setName|setInterface|getInterface|getInterfaceNames|removeElement|getElement|setName|setType|createOwnedType|getSourceElement|getDestinationElement|systemcomposer.createDictionary|systemcomposer.openDictionary|saveToDictionary|isOpen|getFileName|linkDictionary|unlinkDictionary|addReference|removeReference|makeOwnedInterfaceShared|addValueType|createInterface|setName|setDataType|setDimensions|setUnits|setComplexity|setMinimum|setMaximum|setDescription|addServiceInterface|setFunctionPrototype|getFunctionArgument|setAsynchronous|systemcomposer.getSelectedInterfaces|IsAdapterComponent
Objects
systemcomposer.ValueType|systemcomposer.interface.DataInterface|systemcomposer.interface.DataElement|systemcomposer.interface.PhysicalDomain|systemcomposer.interface.PhysicalInterface|systemcomposer.interface.PhysicalElement|systemcomposer.interface.Dictionary|systemcomposer.interface.ServiceInterface|systemcomposer.interface.FunctionArgument|systemcomposer.interface.FunctionElement|addServiceInterface|setFunctionPrototype|getFunctionArgument|setAsynchronous