getCoverageResults

Class: sltest.testmanager.TestIterationResult
Package: sltest.testmanager

Get coverage results

Syntax

covResult = getCoverageResults(resultObj)
covResult = getCoverageResults(resultObj,model)

Description

covResult = getCoverageResults(resultObj) gets the coverage results that belong to the test iteration results object.

covResult = getCoverageResults(resultObj,model) gets the coverage results that belong to the test iteration results object and the specified model.

Input Arguments

expand all

Test iteration results object to get coverage results from, specified as a sltest.testmanager.TestIterationResult object.

Name of a model within the set of coverage results, specified as a character vector.

Example: 'sldemo_absbrake'

Output Arguments

expand all

Coverage results contained in the test iteration result, returned as an array of cvdata objects. For more information on cvdata objects, see cv.cvdatagroup.

Introduced in R2016a