% 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);