Main Content

sltest.testmanager.importResults

Import Test Manager results file

Description

example

resultObjs = sltest.testmanager.importResults(filePath) imports a results set file (.mldatx) into the Test Manager.

Examples

collapse all

% Import results set from a file
result = sltest.testmanager.importResults('testResults.mldatx');

% Set a filepath and filename for the report
filePath = 'testreport.zip';

% Generate the report
sltest.testmanager.report(result,filePath,...
			'Author','User',...
			'Title','Test',...
			'IncludeMLVersion',true,...
			'IncludeTestResults',int32(0),...
			'LaunchReport', true);

Input Arguments

collapse all

Filename and path of results set, specified as a character vector.

Example: 'testResults.mldatx'

Output Arguments

collapse all

Results set, returned as an array of sltest.testmanager.ResultSet objects.

Version History

Introduced in R2016a