Totals:
2 Passed, 0 Failed, 0 Incomplete.
3.5518 seconds testing time.Create Table of Test ResultsTo access functionality available to tables, create one from the TestResult object.rt = table(results)rt =2x6 tableName Passed Failed Incomplete Duration Details
_____________________________________ ______ ______ __________ ________ ____________'axesPropertiesTest/testDefaultXLim' true false false 2.698 [1x1 struct]
'axesPropertiesTest/surfaceColorTest' true false false 0.85376 [1x1 struct]Export test results to an Excel® spreadsheet.writetable(rt,'myTestResults.xls')Sort the test results by increasing duration.sortrows(rt,'Duration')ans =2x6 tableName Passed Failed Incomplete Duration Details
_____________________________________ ______ ______ __________ ________ ____________'axesPropertiesTest/surfaceColorTest' true false false 0.85376 [1x1 struct]33 Unit Testing