main content

simulink coverage documentation -凯发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 .

get started

learn the basics of simulink coverage

collect coverage for models

measure coverage for models, identify untested elements of your design

collect coverage for code

measure coverage for code in model elements or generated from models

manage coverage data

access, manage, and aggregate coverage results

analyze coverage and view results

view coverage highlighting in models, generate coverage reports, trace results to tests and requirements

address missing coverage

filter coverage results and address gaps

verification and validation

use simulink products to test models and code, check for design errors, check against standards, measure coverage, and validate the system

tool qualification and certification

qualify simulink coverage for do and iec certification

网站地图