Main Content

MATLAB Language Features Supported for Automated Fixed-Point Conversion

Automated fixed-point conversion tools and workflows in the Fixed-Point Designer™ software do not support all features of the MATLAB® language. For best results, avoid unsupported features of the MATLAB language.

To replace MATLAB functions that do not support fixed-point data types, use coder.float2fixed.skip. (since R2024b) For fixed-point conversion using the DataTypeWorkflow.Converter object, use DataTypeWorkflow.FunctionReplacement to specify replacements for unsupported functions. (since R2025a) In the iterative fixed-point conversion workflow in the Fixed-Point Tool, use the function replacement option to specify replacements for unsupported functions. (since R2026a)

MATLAB Language Features Supported for Automated Fixed-Point Conversion

Fixed-Point Designer supports these MATLAB language features in automated fixed-point conversion workflows:

MATLAB Language Features Not Supported for Automated Fixed-Point Conversion

Fixed-Point Designer does not support these features in automated fixed-point conversion workflows:

  • Anonymous functions

  • Cell arrays

  • String scalars

  • Objects of value classes as entry-point function inputs or outputs

  • Java®

  • Nested functions

  • Recursion

  • Sparse matrices

  • try/catch statements

  • varargin, varargout, or generation of fewer input or output arguments than an entry-point function defines

  • Dot indexing properties of fixed-point data types.

    Avoid using properties of fixed-point types in MATLAB code being converted.

  • Dynamic field or property references

  • Handle class destructors

  • Arguments blocks

  • Property validation functions

  • Functions that do not support fixed-point data types

See Also

Topics