Simulink Coverage™ measures code coverage to indicate untested elements of your design, such as logical conditions, unintended functionality, and switch positions during simulation.
|Build coverage-compatible MEX-function from C/C++ code|
|Create model coverage test specification object|
|Simulate and return model coverage results for test objects|
|Produce HTML report from model coverage objects|
|Display model coverage results with model coloring|
|Retrieve execution coverage information from cvdata object|
|Retrieve condition coverage information from cvdata object|
|Retrieve decision coverage information from cvdata object|
|Retrieve modified condition/decision coverage information from cvdata object|
Set options for code coverage.
Configure code coverage for SIL and PIL simulations and review results.
Perform several types of code coverage analysis for models in SIL mode, PIL mode, and for the code within supported S-Function and MATLAB® Function blocks.
Record coverage for models with a combination of code blocks and other Simulink blocks.
Analyze model coverage for C/C++ S-Functions.
Collect cumulative model coverage from successive simulation runs.
Create and run test cases by using the model coverage MATLAB commands