Stateflow    

Specifying Coverage Report Settings

Coverage report settings appear in the Coverage Settings dialog. Access this dialog by selecting Coverage settings from the Tools menu in a Simulink model window.

Selecting the Generate HTML Report option on the Coverage Settings dialog causes Simulink to create an HTML report containing the coverage data generated during simulation of the model. Simulink displays the report in the MATLAB Help browser at the end of simulation.

Selecting the Generate HTML Report option also enables the selection of different coverages that you can specify for your reports. The following sections address only those coverage metrics that have direct bearing on reports for the Stateflow charts. These include decision coverage, condition coverage, and MCDC coverage. For a complete discussion of all dialog fields and entries, consult the Model Coverage Tool section of the Using Simulink documentation.


  Making Model Coverage Reports Cyclomatic Complexity