Documentation

Simulink Coverage Functions

Alphabetical List By Category

Collect Coverage Data

Collect Model Coverage Data

slcovmexBuild coverage-compatible MEX-function from C/C++ code
cvtestCreate model coverage test specification object
cvsimSimulate and return model coverage results for test objects
cvhtmlProduce HTML report from model coverage objects
cvmodelviewDisplay model coverage results with model coloring
mcdcinfoRetrieve modified condition/decision coverage information from cvdata object

Collect Code Coverage Data

slcovmexBuild coverage-compatible MEX-function from C/C++ code
cvtestCreate model coverage test specification object
cvsimSimulate and return model coverage results for test objects
cvhtmlProduce HTML report from model coverage objects
cvmodelviewDisplay model coverage results with model coloring
mcdcinfoRetrieve modified condition/decision coverage information from cvdata object

Automate Coverage Workflows

slvnvlogsignalsLog test data for component or model during simulation
slvnvmergedataCombine test data from data files
slvnvmakeharnessGenerate Simulink Coverage harness model
slvnvharnessoptsGenerate default options for slvnvmakeharness
slvnvmergeharnessCombine test data from harness models
slvnvruntestSimulate model by using input data
slvnvruncgvtestInvoke Code Generation Verification (CGV) API and execute model
slvnvruntestoptsGenerate simulation or execution options for slvnvruntest or slvnvruncgvtest
slvnvextractExtract subsystem or subchart contents into new model
slcovmexBuild coverage-compatible MEX-function from C/C++ code
cvtestCreate model coverage test specification object
cvsimSimulate and return model coverage results for test objects
cvexitExit model coverage environment
cvloadLoad coverage tests and stored results into memory
cvsaveSave coverage tests and results to file
cvresultsReturns active coverage data, clears and loads active coverage data from a file
cvmodelviewDisplay model coverage results with model coloring
conditioninfoRetrieve condition coverage information from cvdata object
decisioninfoRetrieve decision coverage information from cvdata object
executioninfoRetrieve execution coverage information from cvdata object
getCoverageInfoRetrieve coverage information for Simulink Design Verifier blocks from cvdata object
mcdcinfoRetrieve modified condition/decision coverage information from cvdata object
complexityinfoRetrieve cyclomatic complexity coverage information from cvdata object
overflowsaturationinfoRetrieve saturation on integer overflow coverage from cvdata object
relationalboundaryinfoRetrieve relational boundary coverage from cvdata object
sigrangeinfoRetrieve signal range coverage information from cvdata object
sigsizeinfoRetrieve signal size coverage information from cvdata object
tableinfoRetrieve lookup table coverage information from cvdata object
cvhtmlProduce HTML report from model coverage objects
slwebview_covExport Simulink models to Web views with coverage
cv.cvdatagroupCreate collection of cvdata objects for model reference hierarchy
slcoverage.BlockSelectorSelect blocks for coverage filter
slcoverage.FilterCoverage filter set
slcoverage.FilterRuleCreate coverage filtering rule
slcoverage.MetricSelectorSelect metric criterion for coverage filter
slcoverage.SelectorGet selectors of all types
slcoverage.SFcnSelectorSelect S-function criterion for filtering rule
Was this topic helpful?