Main Content

systemcomposer.interface.SignalElement

(Removed) Element in signal interface

    The systemcomposer.interface.SignalElement class has been removed. It has been replaced with the systemcomposer.interface.DataElement class. For further details, see Compatibility Considerations.

    Description

    A SignalElement object represents a signal element in a signal interface.

    Properties

    expand all

    Parent interface of element, specified as a systemcomposer.interface.SignalInterface object.

    Element name, specified as a character vector.

    Data Types: char

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

    Data Types: integer

    Data type of element, specified as a character vector.

    Data Types: char

    Complexity of element, specified as 'real' or 'complex'.

    Data Types: char

    Units of element, specified as a character vector.

    Data Types: char

    Minimum value for element, specified as a numeric double.

    Data Types: double

    Maximum value for element, specified as a numeric double.

    Data Types: double

    Description text for element, specified as a character vector.

    Data Types: char

    Unique external identifier, specified as a character vector. The external ID is preserved over the lifespan of the element and through all operations that preserve the UUID.

    Data Types: char

    Universal unique identifier, specified as a character vector.

    Example: '91d5de2c-b14c-4c76-a5d6-5dd0037c52df'

    Data Types: char

    Object Functions

    setNameSet name for value type, function argument, interface, or element
    setDataTypeSet data type for value type
    setDimensionsSet dimensions for value type
    setUnitsSet units for value type
    setComplexitySet complexity for value type
    setMinimumSet minimum for value type
    setMaximumSet maximum for value type
    setDescriptionSet description for value type or interface
    destroyRemove model element

    Version History

    Introduced in R2019a

    collapse all

    R2021b: systemcomposer.interface.SignalElement class has been removed