Documentation

sltest.testmanager.importResults

Import Test Manager results file

Syntax

resultObjs = sltest.testmanager.importResults(filePath)

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

File name 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.

Introduced in R2016a

Was this topic helpful?