Main Content


Export results set from Test Manager



sltest.testmanager.exportResults(resultObjs,filePath) exports the specified results set objects to a .mldatx file.


When you export the results into an MLDATX file, the corresponding test cases are not exported. If you import the result set, the connections from the test case results to the original test cases are not preserved.


collapse all

% Get the results set object from Test Manager
result = sltest.testmanager.getResultSets

% Export the results set object to a file

Input Arguments

collapse all

Result sets, specified as an array of sltest.testmanager.ResultSet objects.

The file path and name of the result file you want to output, specified as a character vector. The results file is a .mldatx file.

Example: 'C:\MATLAB\results.mldatx'

Version History

Introduced in R2016a