Main Content

writeParameter

Write or tune application parameter

Since R2022b

    Description

    writeParameter(tg, appName, paramName, paramVal) writes or tunes the specified parameter on an application.

    example

    Examples

    collapse all

    Change the value of the parameter myParameter to the value myValue of the application myApplication.

    tg.writeParameter('myApplication','myParameter','myValue');

    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 to tune a parameter.

    Example: myApplication

    Specify the name of the parameter to tune.

    Example: myParameter

    Specify a value for the parameter. The value field supports multiple data types to tune various kinds of parameters.

    Example: 0.2

    Example: 21

    Version History

    Introduced in R2022b