Simulink Coverage™ measures code coverage to indicate untested elements of your design, such as logical conditions, unintended functionality, and switch positions during simulation.
slcovmex | Build coverage-compatible MEX-function from C/C++ code |
cvtest | Create model coverage test specification object |
cvsim | Simulate and return model coverage results for test objects |
cvhtml | Produce HTML report from model coverage objects |
cvmodelview | Display model coverage results with model coloring |
executioninfo | Retrieve execution coverage information from cvdata object |
conditioninfo | Retrieve condition coverage information from cvdata object |
decisioninfo | Retrieve decision coverage information from cvdata object |
mcdcinfo | Retrieve modified condition/decision coverage information
from cvdata object |
Set options for code coverage.
Code Coverage for Models in Software-in-the-Loop (SIL) Mode and Processor-in-the-Loop (PIL) Mode
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.
Coverage for Models with Code Blocks and Simulink Blocks
Record coverage for models with a combination of code blocks and other Simulink blocks.
Coverage for Custom C/C++ Code in Simulink Models
Analyze model coverage for C/C++ S-Functions.
Collect cumulative model coverage from successive simulation runs.