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 MATLAB Coder code generation configuration objects
coder.approximationCreate function replacement configuration object

Topics

Automated Conversion — Programmatic Workflow

Automated Conversion — App Workflow