Contenido principal

getApplications

R2026b

Get applications deployed to target computer and application states

Since R2022b

    Description

    stateMap = getApplications(tg) returns a map where keys represent the names of the applications and the respective values indicate the state of the application on the target.

    Examples

    collapse all

    Get the list of applications deployed on target LinuxTarget1 and their states.

    stateMap = tg.getApplications();

    The command returns stateMap in the form of a map, where keys are the names of applications deployed on target and values are the states of the applications.

    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

    Output Arguments

    collapse all

    Returns a map in which keys are the names of the applications deployed on to the target. And values of the respective keys are the states of the applications on the target.

    Version History

    Introduced in R2022b