Syntax

[status test] = rtobj.getTestStatus
[status test] = rtobj.getTestStatus('-a')

Arguments

'-a'
If the '-a' input argument is provided then return the entire record for the test.

Description

getTestStatus is a method of the simwb.rtobj object. The getTestStatus method returns the status and name of the test that is currently running on the real-time host. If the test is running, status = 1 else status = 0.

Example: rtobj_getTestStatus.m