Use Simulink® Coverage™ component verification functions to log input signals, create a harness model, and execute test cases.
The application of coverage analysis to a simple design problem and compares the coverage requirements for different metrics.
Configure an S-Function generated with the Legacy Code Tool to be compatible with coverage. The model coverage tool supports S-Functions that are:
Verify generated code for a model component. You use component verification functions to create test cases and measure coverage for a referenced model. In addition, you execute the
Simulate this model to collect and report Saturate on integer overflow coverage.
This model includes various patterns of cascaded Logical Operator blocks. This example illustrates the criteria by which logic block cascades are identified for the purpose of model
Model explains how Model Coverage relates to MATLAB code inside a MATLAB Function Block.
Illustrates the use of the Coverage Results Explorer to simplify the generation of cumulative coverage data and reports spanning a set of multiple coverage runs.
Use a model reference in either SIL or Normal simulation mode to collect model or code coverage metrics with Simulink® Coverage™.
Illustrates how Simulink® Coverage™ records the MCDC metric for a cascade of Logical Operator blocks.
how to create and view cumulative coverage results for a model with a reusable subsystem.
Use the overloaded operators +, *, and - to combine coverage results into a union, intersection, or set difference of results.
How coverage utility commands can be used to extract information for an individual subsystem, block, or Stateflow® object from cvdata objects.