Stateflow    

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. 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.


  How Stateflow Implements Fixed-Point Data Tips and Tricks for Using Fixed-Point Data in Stateflow