Main Content
systemcomposer.interface.FunctionElement
Description
A FunctionElement
object describes the attributes of a function
in a client-server interface systemcomposer.interface.ServiceInterface
.
Creation
Create a function element using the addElement
function.
element = addElement(serviceInterface,"f0")
Properties
Object Functions
setName | Set name for value type, function argument, interface, or element |
setFunctionPrototype | Set prototype for function element |
getFunctionArgument | Get function argument on function element |
setAsynchronous | Set function element as asynchronous |
destroy | Remove model element |
Examples
More About
Version History
Introduced in R2022a
See Also
Functions
addInterface
|moveInterface
|addPhysicalInterface
|removeInterface
|createInterface
|setName
|setInterface
|getInterface
|getInterfaceNames
|addElement
|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
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
|addServiceInterface
|setFunctionPrototype
|getFunctionArgument
|setAsynchronous