Main Content

getParameterDefinition

(Not recommended) Get instance-specific parameter definition

Since R2022a

    The getParameterDefinition function is not recommended. Use the systemcomposer.arch.Parameter object with its Type property instead. For more information, see Version History.

    Description

    paramDef = getParameterDefinition(arch,paramName) gets the instance-specific parameter definition object for a given architecture, arch, and parameter name, paramName.

    Input Arguments

    collapse all

    Architecture, specified as a systemcomposer.arch.Architecture object.

    Parameter name, specified as a character vector or string.

    Example: "GainArg"

    Data Types: char | string

    Output Arguments

    collapse all

    Parameter definition, returned as a systemcomposer.parameter.ParameterDefinition object.

    Version History

    Introduced in R2022a

    collapse all

    R2022b_plus: getParameterDefinition function is not recommended

    The getParameterDefinition function is not recommended. Use the systemcomposer.arch.Parameter object with its Type property instead.