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

Provides access to methods that manipulate the target computer properties.

Example: tg

Provides name of real-time application MLDATX file that you built from the model.

Example: 'slrt_ex_osc'

Version History

Introduced in R2021b

See Also