| SystemTest™ | ![]() |
While a test is executing in the SystemTest software, you can access test results using the systest.testresults.getCurrent method.
The getCurrent function is intended to be used in a MATLAB element within the Pre Test, Main Test, or Post Test sections of a TEST-File, in order to access test information or test results during test execution.
This is a function of the systest.testresults class, which is the class definition for a test results object, allowing you to access test results from MATLAB.
The following example used in a MATLAB element will allow you to access the test results object while the test is executing. The ResultsDataSet property can be queried in order to access the underlying test data that is currently available.
obj = systest.testresults.getCurrent; currentResults = obj.ResultsDataSet;
![]() | Working with Test Results | Function Reference | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |