管理覆盖率数据
访问、管理和聚合覆盖率结果
您可以使用 Simulink®Coverage™ 访问、管理和聚合覆盖率结果。您还可以通过聚合多个测试运行的覆盖率数据来评估测试完整性。
对象
cvdata | Access Simulink Coverage data in the MATLAB workspace |
cv.cvdatagroup | Collection of cvdata objects |
函数
主题
- Access, Manage, and Aggregate Coverage Results
Access, manage, and aggregate coverage results from the Results Explorer after you collect coverage.
- Cumulative Coverage Data
Collect cumulative coverage from successive simulations.
- Analyze Coverage Data Using A Script
Retrieve specific coverage information after simulation using MATLAB® commands.
- Collect Coverage in Tests (Simulink Test)
Use coverage measurement to assess the extent of your tests.
- Extracting Detailed Information from Coverage Data
This example shows how coverage utility commands can be used to extract information for an individual subsystem, block, or Stateflow® object from cvdata objects.