Main Content

sltest.testmanager.exportResults

Export results set from Test Manager

Description

example

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

Note

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.

Examples

collapse all

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

% Export the results set object to a file
sltest.testmanager.exportResults(result,'C:\MATLAB\results.mldatx')

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