Stateflow User's Guide Previous page   Next Page

Specifying Fixed-Point Data in Stateflow

You can specify fixed-point data in Stateflow as follows:

  1. Add data to Stateflow as described in Adding Data to the Data Dictionary.
  2. Set the properties for the data in the data properties dialog as described in Setting Data Properties in the Data Dialog. For fixed-point data, set the following fields:

You can also specify a fixed-point constant indirectly in action language by using a fixed-point context-sensitive constant. See Fixed-Point Context-Sensitive Constants.


Previous page  How Stateflow Defines Fixed-Point Data Fixed-Point Context-Sensitive Constants Next page

© 1994-2005 The MathWorks, Inc.