systemcomposer.interface.FunctionArgument
Description
A FunctionArgument
object describes the attributes of an
argument in a function element systemcomposer.interface.FunctionElement
.
Creation
Set a function prototype using the setFunctionPrototype
function and then get a function argument using the
getFunctionArgument
function.
setFunctionPrototype(element,"y=f0(u)") argument = getFunctionArgument(functionElement,"y")
Properties
Object Functions
setName | Set name for value type, function argument, interface, or element |
setType | Set shared type on data element or function argument |
setDimensions | Set dimensions for value type |
setUnits | Set units for value type |
setComplexity | Set complexity for value type |
setMinimum | Set minimum for value type |
setMaximum | Set maximum for value type |
setDescription | Set description for value type or interface |
createOwnedType | Create owned value type on data element or function argument |
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.FunctionElement
|addServiceInterface
|setFunctionPrototype
|getFunctionArgument
|setAsynchronous