Main Content


Class: sltest.testmanager.ResultSet
Package: sltest.testmanager

Remove result set




remove(result) removes result, a sltest.testmanager.ResultSet object. If the Test Manager is visible, the corresponding results are removed from the Results and Artifacts pane.

Input Arguments

expand all

Results set to get test file results from, specified as a sltest.testmanager.ResultSet object.


expand all

This example shows how to run a test and remove the result.

Create a Test File

tf = sltest.testmanager.TestFile('f14ParameterSweepTest.mldatx');

Run the Test

result = run(tf)
result = 
  ResultSet with properties:

                   Name: 'Results: 2022-Aug-31 05:38:29'
                Outcome: Failed
              NumPassed: 0
              NumFailed: 25
            NumDisabled: 0
          NumIncomplete: 0
               NumTotal: 25
     NumTestCaseResults: 0
    NumTestSuiteResults: 0
     NumTestFileResults: 1
              StartTime: 31-Aug-2022 05:38:31
               StopTime: 31-Aug-2022 05:38:31
               Duration: 0.704 sec
            Description: []
        CoverageResults: []
               UserData: []

Remove the Result


Version History

Introduced in R2019a