Stateflow User's Guide Previous page   Next Page

Viewing the Graphical Function for a Truth Table

Stateflow generates a graphical function for a truth table when you simulate your model. If a truth table changes, its graphical function is regenerated when you simulate your model. If a truth table remains unchanged, simulating does not generate a new graphical function for it.

After you simulate the model, you can see the generated graphical function for a truth table as follows:

  1. Right-click the truth table box in its Stateflow diagram.
  2. From the resulting pop-up menu, select View Contents.

The truth table graphical function appears with a shaded background to indicate that it is not editable. See How Stateflow Generates Graphical Functions for Truth Tables for an example of a generated graphical function for a truth table.


Previous page  How Stateflow Realizes Truth Tables How Stateflow Generates Graphical Functions for Truth Tables Next page

© 1994-2005 The MathWorks, Inc.