Main Content

MCDC mode

Modified condition decision coverage analysis mode

Model Configuration Pane: Coverage


The MCDC Mode parameter specifies the definition of modified condition decision coverage (MCDC) to use during coverage analysis. For more information, see Modified Condition and Decision Coverage (MCDC) Definitions in Simulink Coverage.


To enable this parameter, select the Enable coverage analysis parameter and set the Structural coverage level parameter to Modified Condition Decision Coverage (MCDC).


Masking (default) | Unique-Cause

Use masking MCDC analysis. To establish the independence of inputs, masking MCDC analysis does not require that all other inputs stay constant while one input changes. Therefore, masking MCDC analysis allows you to more easily satisfy coverage objectives during simulation.


Use unique-cause MCDC analysis. Unique-cause MCDC analysis requires that while one input changes, the other inputs must remain constant to satisfy the MCDC objectives.

Programmatic Use

Parameter: CovMcdcMode
Type: character vector | string
Value: "Masking" | "UniqueCause"
Default: "Masking"

Version History

Introduced in R2017a