addModelCoverage
Syntax
addModelCoverage(runner)
addModelCoverage(runner,covformat,location)
addModelCoverage(___,Name,Value)
Description
addModelCoverage( enables the specified
test runner to add model coverage to MATLAB-based Simulink tests and generates a coverage
report. The coverage format defaults to runner)html-report. This method adds
sltest.plugins.ModelCoveragePlugin to the test runner.
addModelCoverage is a method of the matlab.unittest.TestRunner class.
addModelCoverage(
enables model coverage collection using the specified coverage format and saves the report in
the specified location.runner,covformat,location)
addModelCoverage(___,
enables model coverage collection with additional options specified by one or more
Name,Value)Name,Value pair arguments.
Input Arguments
Name-Value Arguments
Examples
Version History
Introduced in R2021a