Main Content

systemcomposer.parameter.ParameterDefinition

(Not recommended) Parameter definition in System Composer

    The systemcomposer.parameter.ParameterDefinition object is not recommended. Use the systemcomposer.arch.Parameter object instead. For more information, see Compatibility Considerations.

    Description

    A ParameterDefinition object describes a parameter definition in System Composer™. Set and get the properties of a parameter definition to edit and view the instance-specific parameters specified as model arguments on a referenced model.

    Creation

    Creating a ParameterDefinition object directly is not supported. A ParameterDefinition object is returned when you use the getParameterDefinition function.

    Properties

    expand all

    Element that owns definition, specified as a systemcomposer.arch.Architecture object.

    Parameter name, specified as a character vector or string. This property must be a valid MATLAB® identifier.

    Example: "AirSpeed"

    Data Types: char | string

    Parameter data type, specified as a character vector or string. This property must be a valid MATLAB data type.

    Data Types: char | string

    Parameter dimensions, specified as a character vector or string.

    Data Types: char | string

    Parameter units, specified as a character vector or string.

    Data Types: char | string

    Parameter minimum, specified as a character vector or string.

    Data Types: char | string

    Parameter maximum, specified as a character vector or string.

    Data Types: char | string

    Version History

    Introduced in R2022a

    expand all