Main Content

systemcomposer.parameter.ParameterDefinition

(Not recommended) Parameter definition in System Composer

Since R2022a

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

    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

    collapse all

    R2022b_plus: systemcomposer.parameter.ParameterDefinition object is not recommended

    The systemcomposer.parameter.ParameterDefinition object is not recommended. Use the systemcomposer.arch.Parameter object instead.