Main Content

isRunning

Get real-time application running status

Since R2021b

Description

isRunning(target_object,app_name) returns the running status of a real-time application on the Speedgoat® target computer.

example

Examples

collapse all

Get the real-time application running status and the name of the application.

  1. To get the running status of any real-time application on the target computer, use:

    [running, runningAppName] = isRunning(tg)
    running =
    
      logical
    
       1
    
    
    runningAppName =
    
        'slrt_ex_osc'
  2. To get the running status of a real-time application that you select on the target computer, use:

    [running, runningAppName] = isRunning(tg,'slrt_ex_osc')
    running =
    
      logical
    
       1
    
    
    runningAppName =
    
        'slrt_ex_osc'

Input Arguments

collapse all

Object that represents target computer, specified as a Target object. The object provides access to methods that manipulate the target computer properties.

Example: tg

Real-time application MLDATX file name that you build from the model, specified as a character vector or string scalar.

Example: "slrt_ex_osc"

Version History

Introduced in R2021b

See Also