Main Content

systemcomposer.interface.SignalElement

Class that represents element in signal interface

Description

The SignalElement class represents a single element in the signal interface.

Creation

Create a signal element.

elem = addElement(interface,'NewElement')

Properties

expand all

Handle to parent interface of element, returned as a systemcomposer.interface.SignalInterface object.

Element name, returned as a character vector.

Data Types: char

Dimensions of element, returned as an array of positive integers.

Data Types: integer

Data type of element, returned as a character vector.

Data Types: char

Complexity of element, returned as 'real' or 'complex' character vectors.

Data Types: char

Units of element, returned as a character vector.

Data Types: char

Minimum value for element, returned as a double.

Data Types: double

Maximum value for element, returned as a double.

Data Types: double

Description text for element, returned as a character vector.

Data Types: char

Object Functions

setNameSet name for signal interface element
setTypeSet type for signal interface element
setDimensionsSet dimensions for signal interface element
setUnitsSet units for signal interface element
setComplexitySet complexity for signal interface element
setMinimumSet minimum for signal interface element
setMaximumSet maximum for signal interface element
setDescriptionSet description for signal interface element
destroyRemove and destroy model element
Introduced in R2019a