collect coverage for models -凯发k8网页登录
measure coverage for models, identify untested elements of your design
collect coverage during simulation to measure which elements in your model or stateflow® charts are tested. simulink® coverage™ measures several types of coverage, such as execution, decision, condition, and modified condition/decision coverage. the most basic coverage level determines whether an item executes during simulation, while more extensive coverage levels determine whether individual logical conditions are fully exercised and independently affect the output of logical expressions.
functions
topics
model coverage definitions
validate your model tests by measuring how thoroughly the model objects are tested.- types of model coverage
model coverage metrics provided by simulink coverage.
describes the definitions of mcdc coverage available for use in simulink coverage.
describes the difference between mcdc coverage in simulink design verifier™ and in simulink coverage.
using model coverage
learn the basic simulink coverage workflow.
in the model settings, specify several coverage analysis options.
model objects that receive model coverage during simulation.
simulink objects that do not receive coverage.
collect model coverage when a model has multiple model blocks that reference the same model.
learn how simulink coverage displays coverage results for simulink variants.
learn how inlined parameters, block reduction, and conditional input branch execution can affect your model coverage data.
model coverage for stateflow charts
describes the definition of coverage for elements in stateflow charts.
describes the coverage metrics you can collect for stateflow charts.
coverage behavior when your model contains stateflow atomic subcharts.
interpret the colored model highlighting for stateflow charts.
coverage behavior when your model contains stateflow truth tables.