Hauptinhalt

readParameter

R2026b

Get value of parameter

Since R2022b

    Description

    value = readParameter(tg, appName,paramName) returns the value of the specified parameter paramName in the application appName.

    example

    Examples

    collapse all

    Get the value of the parameter myParameter from the application myApplication.

    val = tg.readParameter('myApplication','paramName');

    Input Arguments

    collapse all

    Target computer for the deployed application, specified as a linuxTarget object. The object provides access to methods that manipulate the target computer properties.

    Example: tg

    Specify the application name from where to get the value of parameter.

    Example: myApplication

    Specify the parameter name to get the value.

    Example: myParameter

    Output Arguments

    collapse all

    Returns the value of the specified parameter from the deployed application.

    Version History

    Introduced in R2022b