Main Content

stopApplication

R2026b

Terminate application that is running on target computer

Since R2022b

    Description

    stopApplication(tg, appName) terminates the specified application which is in running state.

    example

    Examples

    collapse all

    Terminate the application myApplication.

    tg.stopApplication('myApplication');

    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.

    Example: myApplication

    Version History

    Introduced in R2022b