cvsave
Save coverage settings and results to file
Syntax
Description
cvsave(
saves multiple文件名
,covSettings
1,...,covSettings
N)cvtest
objects and information about any referenced models.
Examples
Input Arguments
Alternatives
You can save coverage results to a MATLAB workspace variable when you run your model in Simulink:
Open the model for which you want to save cumulative coverage results.
On theModeling tab, selectModel Settings.
In the left pane of the Configuration Parameters dialog box, selectCoverage.
SelectEnable coverage analysis.
In theResultssection, selectSave last run in workspace variable.
ClickOKto close the Configuration Parameters dialog box and save your changes.
Simulate the model by clicking theRunbutton and review the results.