cvsim
Simulate and return model coverage results for test objects
Syntax
Description
simulates the model and returns the coverage results in the cvdo
= cvsim(modelName
)cvdata
object, cvdo
. When called using modelName
,
cvsim
uses the coverage metric settings specified in the
model configuration parameters.
Note
cvsim
will record coverage even if coverage is not
enabled in the model configuration parameters.
[
specifies the model parameters, simulates the model, and returns the coverage
results in the cvdo
,simOut
]
= cvsim(__,Name,Value
)cvdata
object, cvdo
, and the
simulation outputs in the Simulink.SimulationOutput
object,
simOut
.
[
sets the model parameters specified in a structure
cvdo
,simOut
]
= cvsim(testObj
,paramStruct
)paramStruct
.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
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
See Also
cvtest
| cvdata
| cv.cvdatagroup
| sim
| cvhtml