주요 콘텐츠

writeParameter

R2026b

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

    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 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