slcoverage.stmv2.CoverageResult
R2026bDescription
Note
The redesigned Simulink® Test Manager is a tech preview in R2026b. The primary purpose of the tech preview is to provide early access to the most common testing workflows. For more information about supported workflows, see Overview of the Redesigned Simulink Test Manager (Tech Preview).
To enable the feature, click the New Test Manager button in the
existing Test Manager or use the sltest.stmv2.open function at
the command line.
An slcoverage.stmv2.CoverageResult object contains the
coverage data for a single result in the test result hierarchy. Use the object properties and
methods to inspect the enabled metrics, view and export coverage results, or retrieve
cvdata objects.
Creation
You do not create an slcoverage.stmv2.CoverageResult object directly.
Instead, obtain one by calling getCoverageResult
on a result hierarchy object such as sltest.stmv2.results.ResultSet,
sltest.stmv2.results.TestFileResult,
sltest.stmv2.results.CUTResult, or
sltest.stmv2.results.TestCaseResult.
Properties
Object Functions
Examples
Version History
Introduced in R2026b