main content

get started with simulink coverage -凯发k8网页登录

measure test coverage in models and generated code

simulink® coverage™ performs model and code coverage analysis that measures testing completeness in models and generated code. it applies industry-standard metrics such as decision, condition, modified condition/decision coverage (mcdc), and relational boundary coverage to assess the effectiveness of simulation testing in models, software-in-the-loop (sil), and processor-in-the-loop (pil). you can use missing coverage data to find gaps in testing, missing requirements, or unintended functionality.

simulink coverage produces interactive reports showing how much of your model, c/c s-functions, matlab® functions, and code generated by embedded coder® has been exercised. you can highlight coverage results in blocks and subsystems to visualize gaps in testing. to assess testing completeness, you can accumulate coverage data from multiple test runs, as well as view coverage achieved through unit and system tests. coverage outcomes can be traced to requirements and tests. you can apply filters to exclude blocks from coverage and justify missing coverage in reports.

support for industry standards is available through and .

tutorials


  • learn some basic terminology related to model coverage.

  • learn the basic simulink coverage workflow.

    • step 1:
    • step 2:
    • step 3:
    • step 4:

  • learn the workflow for collecting coverage in the test manager.

featured examples

videos


learn the fundamental concepts of simulink coverage.


learn how to get started with requirements-based testing using simulink coverage, requirements toolbox™, simulink test™, and simulink design verifier™

网站地图