Stateflow User's Guide Previous page   Next Page

Model Coverage for an Embedded MATLAB Function

The Model Coverage tool in Simulink reports model coverages for the decisions and conditions of Embedded MATLAB functions in Stateflow. For example, the Embedded MATLAB function if statement

contains a decision with two conditions (x > 0 and y > 0). You use the Model Coverage tool for Embedded MATLAB functions to make sure that all decisions and conditions are taken during simulation of the model.

See the following topics for a description of model coverage for an example Embedded MATLAB function:

For a description of model coverage for other Stateflow objects, see Understanding Model Coverage for Stateflow Charts.


Previous page  Run-Time Debugging for Embedded MATLAB Functions Types of Model Coverage in Embedded MATLAB Functions Next page

© 1994-2005 The MathWorks, Inc.