cvtest
Create model coverage test specification object
Description
Use cvtest
to create a test specification object that stores
model coverage settings. Pass the cvtest
object to the
cvsim
function to execute coverage analysis based on your
settings.
Creation
Description
creates
a cvto
= cvtest(root
)cvtest
object with default coverage settings.
root
can be the name of a model or the handle to a
model. root
can also be the name or handle to a subsystem
within the model, in which case only the specified subsystem and its descendents
are analyzed for coverage.
Note
Coverage metric settings specified in the cvtest
object
override coverage metric settings set in the model configuration
parameters.
Input Arguments
Properties
Examples
Limitations
Fast restart is not supported for
cvtest
objects. If you callcvsim
with multiplecvtest
objects, and your model has fast restart enabled,cvsim
ignores configurations fromcvtest
objects after the first. To analyze coverage for multiple runs, either disable fast restart or use thesim
function. For more information about analyzing coverage using thesim
function, see Perform Operations on Coverage Data.
Version History
Introduced before R2006a