Main Content


Get value of parameter

Since R2022b



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


    collapse all

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

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

    Input Arguments

    collapse all

    Object represents a target computer. Use the object to establish the connection with Linux target, to deploy the applications on Linux target, and perform several other actions.

    Example: myTargetHandle

    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