Main Content

getApplications

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

    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

    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