Main Content

status

Get status of real-time application on target computer

Since R2020b

Description

status(target_object) returns the status of the real-time application on the Speedgoat® target computer. The status values are:

  • loading — The real-time application is loading on the target computer.

  • loaded — The real-time application is loaded on the target computer.

  • running — The real-time application is running on the target computer.

  • terminating — The real-time application is terminating on the target computer.

  • stopped — The real-time application has stopped on the target computer.

  • modelError — An error has occurred in the real-time application on the target computer.

example

Examples

collapse all

Get the status of the real-time application that is loaded on the target computer, which is represented by the target object tg.

tg = slrealtime('TargetPC1');
load(tg, 'my_xpctank');
status(tg);
ans =

    'loaded'

Input Arguments

collapse all

Provides access to methods that manipulate the target computer properties.

Example: tg

Version History

Introduced in R2020b