Main Content

isRunning

Get real-time application running status

Description

example

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

Examples

collapse all

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

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'

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'

See Also

Introduced in R2021b