Products

Dongfeng Electric Vehicle Develops Battery Management System for Hybrid Electric Vehicles Using Mode

“With Model-Based Design we have an integrated process for development, from idea through production code generation. MathWorks tools enabled us to develop key battery management technology using our own expertise, in an environment that facilitated early and continuous verification of our design.” —Dr. Xiaokang Liu, Dongfeng Electric Vehicle

Yokogawa Electric Develops Key Components for Next-Generation Optical Networks with Simulink and Men

"End-to-end system development with Simulink has streamlined our current design flow. We found virtually all bugs before hardware prototyping using Simulink and Mentor Graphics, and this cut development time in half." - Chie Sato, Yokogawa Electric Corporation

Simulink Fixed Point

Description

Generating and Deploying Production Code

When used with Simulink Coder™ or 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 MATLAB Function blocks.

 

Simulink Fixed Point Generating and Deploying Production Code 40534 wm fp example w 18800

Code example showing how Simulink Fixed Point enables Embedded Coder to generate efficient fixed-point code for an embedded filter design. The shifts in the generated code (bottom left) represent the automatic handling of scaling adjustment and optimized replacement of power-of-two multiplications.