Stateflow User's Guide Previous page   Next Page

Using Fixed-Point Data in Stateflow


Fixed-point numbers use integers and integer arithmetic to approximate real numbers. They are an efficient means for performing computations involving real numbers without requiring floating-point support in underlying system hardware. The following topics describe fixed-point data in Stateflow. Be sure to read Tips for Using Fixed-Point Data in Stateflow when you are ready to begin using it:.
What Is Fixed-Point Data?
Provides a general discussion of the underlying arithmetic of fixed-point numbers.
Using Fixed-Point Data in Stateflow
Shows you how to define and use fixed-point data in Stateflow
Fixed-Point "Bang-Bang Control" Example
Examines a Stateflow demo that uses fixed-point data in Stateflow to perform limited floating-point operations on an 8 bit processor
Operations with Fixed-Point Data
Lists the operations supported for Stateflow fixed-point data and the means by which they are implemented in Stateflow generated code


Previous page  Avoiding Muxed Trigger Events with Binding What Is Fixed-Point Data? Next page

© 1994-2005 The MathWorks, Inc.