Simulink Fixed Point 6.2
Product Description
- Introduction and Key Features
- Working with Simulink Fixed Point
- Modeling Fixed-Point Designs
- Simulating Fixed-Point Designs
- Generating and Deploying Production Code
Generating and Deploying Production Code
When used with Real-Time Workshop®, Stateflow Coder™, or Real-Time Workshop Embedded Coder, Simulink Fixed Point enables you to generate pure integer C code from your fixed-point models. The generated code is in bit-true agreement with your model, ensuring that your implemented design will perform exactly as it did in simulation. The generated code automatically handles all the details of implementing fixed-point designs, such as scaling adjustment, rounding, and advanced fixed-point math. Code can be generated for signals and parameters with word sizes from 1 to 128 bits. You can use the generated code for a variety of applications, including accelerated simulation, rapid prototyping, and production deployment.
When used with Simulink HDL Coder™, Simulink Fixed Point lets you generate bit-true synthesizable Verilog® and VHDL® code from Simulink models, Stateflow charts, and Embedded MATLAB Function blocks.
With MathWorks link and target products (available separately), you can automate deployment and verification of generated fixed-point code using third-party IDEs and hardware.
Learn more about link and target products.

Code example showing how Simulink Fixed Point enables Real-Time Workshop Embedded Coder to generate efficient fixed-point code for an embedded filter design. The shifts in the generated code (above left) represent the automatic handling of scaling adjustment and optimized replacement of power-of-two multiplications. Click on image to see enlarged view.
Store