Main Content

Fixed-Point Conversion

Convert floating-point code to fixed point, optimize fixed-point data types (requires Fixed-Point Designer™)

If you have the Fixed-Point Designer product, to meet target hardware constraints, generate fixed-point C/C++ code.


coder.FixPtConfigFloating-point to fixed-point conversion configuration object


coderOpen MATLAB Coder app
codegenGenerate C/C++ code from MATLAB code
coder.configCreate MATLAB Coder code generation configuration objects
coder.approximationCreate function replacement configuration object


Automated Conversion — Programmatic Workflow

Automated Conversion — App Workflow