Fixed-Point Designer™ provides data types and tools for developing fixed-point algorithms in MATLAB® code, Simulink® models, and Stateflow® charts. It automatically proposes fixed-point data types and attributes such as word length. You can also specify attributes such as rounding mode and overflow action manually. You can perform accelerated bit-true simulations to observe the impact of limited range and precision.
Fixed-Point Designer lets you convert floating-point algorithms to fixed point. You can create and optimize fixed-point data types that meet your numerical accuracy requirements and target hardware constraints. You can simulate your design and analyze the results to obtain range information. Fixed-Point Designer uses this information to recommend word lengths and scalings for your fixed-point algorithm and enable you to compare fixed-point results with floating-point baselines.
Fixed-Point Designer supports C, HDL, and PLC code generation.
Learn the basics of Fixed-Point Designer
Learn about fixed-point number representation, scaling, range, precision, and arithmetic operations
Design and simulate fixed-point systems using MATLAB
Design and simulate fixed-point systems using Simulink
Convert double-precision MATLAB code to single-precision MATLAB code
Convert double-precision systems in Simulink to single precision