| Simulink® Fixed Point™ | ![]() |
The Simulink® Fixed Point™ software enables the intrinsic fixed-point capabilities of the following products across the Simulink® product family:
Simulink
Stateflow®
Signal Processing Blockset™
Communications Blockset™
Target Support Package™ TC2
Target Support Package TC6
Target Support Package IC1
Target Support Package FM5
Video and Image Processing Blockset™
The following products can be used to generate fixed-point code when used with the Simulink Fixed Point software:
Real-Time Workshop®
Real-Time Workshop® Embedded Coder™
Simulink® HDL Coder™
Stateflow® Coder™
xPC Target™
You can use the Simulink Fixed Point software with Simulink products to simulate effects commonly encountered in fixed-point systems for applications such as control systems and time-domain filtering. The Simulink Fixed Point software includes these major features:
Integer, fractional, and generalized fixed-point data types
Unsigned and two's complement formats
Word sizes in simulation from 1 to 128 bits
Floating-point data types
IEEE-style singles and doubles
A nonstandard IEEE-style data type, where the fraction can range from 1 to 52 bits and the exponent can range from 1 to 11 bits
Methods for overflow handling, scaling, and rounding of fixed-point data types
Tools that facilitate
Collection of minimum and maximum simulation values
Optimization of scaling parameters
Display of input and output signals
In addition, you can generate C code and HDL code for execution on a fixed-point embedded processor with the Real-Time Workshop product. The generated code uses only integer types and automatically includes all operations, such as shifts, needed to account for differences in fixed-point locations.
The Simulink Fixed Point software features listed above are all supported for fixed-point Simulink blocks. Other products in the Simulink family with fixed-point capabilities might support some or all of these features. To get specific information about the fixed-point features supported by a particular product, refer to the documentation for that product. For example,
For information on fixed-point support in the Signal Processing Blockset software, refer to Working with Fixed-Point Data in the Signal Processing Blockset documentation.
For information on fixed-point support in the Stateflow software, refer to Using Fixed-Point Data in Stateflow Charts in the Stateflow documentation.
![]() | Getting Started | What You Need to Get Started | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |