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.

Classes

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

Functions

coderOpen MATLAB Coder app
codegenGenerate C/C++ code from MATLAB code
coder.configCreate code generation configuration objects
coder.approximationCreate function replacement configuration object
coder.float2fixed.skipExclude functions from fixed-point conversion (Since R2024b)

Topics

Automated Conversion — Programmatic Workflow

Automated Conversion — App Workflow