Main Content

The following general limitations apply to the use of Fixed-Point Designer™ functions in generated code, with `fiaccel`

:

`fipref`

and`quantizer`

objects are not supported.Word lengths greater than 128 bits are not supported.

You cannot change the

`fimath`

or`numerictype`

of a given`fi`

variable after that variable has been created.The

`boolean`

value of the`DataTypeMode`

and`DataType`

properties are not supported.For all

`SumMode`

property settings other than`FullPrecision`

, the`CastBeforeSum`

property must be set to`true`

.You can use parallel for (

`parfor`

) loops in code compiled with`fiaccel`

, but those loops are treated like regular`for`

loops.When you compile code containing

`fi`

objects with nontrivial slope and bias scaling, you may see different results in generated code than you achieve by running the same code in MATLAB^{®}.

An asterisk (*) indicates that the reference page has usage notes and limitations for C/C++ code generation.

Absolute value of | |

Subtract two | |

Add two | |

| Add two objects using |

Four-quadrant inverse tangent of fixed-point values | |

Bitwise | |

Reduce consecutive slice of bits to one bit by performing
bitwise | |

Bitwise complement of | |

Concatenate bits of | |

Get bits at certain positions | |

Bitwise | |

Reduce consecutive slice of bits to one bit by performing
bitwise | |

Replicate and concatenate bits of | |

Bitwise rotate left | |

Bitwise rotate right | |

Set bits at certain positions | |

Shift bits specified number of places | |

Get consecutive slice of bits | |

Bit shift left logical | |

Bit shift right arithmetic | |

Bit shift right logical | |

Bitwise exclusive | |

Reduce consecutive slice of bits to one bit by performing
bitwise exclusive | |

Round toward positive infinity | |

Construct complex | |

Complex conjugate of | |

| Convolution and polynomial multiplication of |

Round toward nearest integer with ties rounding to nearest even integer | |

CORDIC-based absolute value | |

CORDIC-based phase angle | |

CORDIC-based four quadrant inverse tangent | |

CORDIC-based approximation of Cartesian-to-polar conversion | |

CORDIC-based approximation of complex exponential | |

CORDIC-based approximation of cosine | |

CORDIC-based approximation of polar-to-Cartesian conversion | |

Rotate input using CORDIC-based approximation | |

CORDIC-based approximation of sine | |

CORDIC-based approximation of sine and cosine | |

CORDIC-based approximation of square root | |

Cosine of | |

Complex conjugate transpose of | |

Divide two | |

Double-precision floating-point real-world value of | |

| Quantized relative accuracy for |

| Determine whether real-world values of two |

| Construct fixed-point numeric object |

One-dimensional digital filter of | |

Set fixed-point math settings | |

Round toward zero | |

Quantize fixed-point numbers | |

Round toward negative infinity | |

Execute statements specified number of times | |

| Determine whether real-world value of one |

| Property values of object |

Least significant bit | |

Most significant bit | |

| Determine whether real-world value of one |

Horizontally concatenate multiple | |

Convert | |

Convert | |

Convert | |

Convert | |

Determine whether real-world values of two | |

| Determine whether variable is |

Determine whether variable is | |

Determine whether | |

Determine whether input is | |

Determine whether | |

| Determine whether real-world value of |

Lower bound of range of | |

| Scaling of least significant bit of |

| Determine whether real-world value of one |

Largest element in array of | |

Average or mean value of fixed-point array | |

Median value of fixed-point array | |

Smallest element in array of | |

Matrix difference between | |

Fixed-point matrix power (^) | |

| Multiply two objects using |

Right-matrix division | |

Matrix product of | |

| Determine whether real-world values of two |

Round toward nearest integer with ties rounding toward positive infinity | |

Exponent of next higher power of 2 of | |

Compute normalized reciprocal | |

Number of data elements in | |

Construct | |

| Matrix sum of |

Efficient fixed-point multiplication by 2 | |

Fixed-point element-wise power | |

Orthogonal-triangular decomposition | |

Quantize fixed-point numbers | |

Numerical range of | |

Right-array division | |

Largest positive fixed-point value or quantized number | |

Smallest positive normalized fixed-point value or quantized number | |

Convert fixed-point data types without changing underlying data | |

Remove fimath object from | |

Change scaling of | |

Round | |

Attach fimath object to | |

| Construct signed fixed-point numeric object |

Perform signum function on array | |

Sine of fixed-point values | |

Single-precision floating-point real-world value of | |

| Sort elements of real-valued |

| Square root of |

Stored integer value of | |

Convert stored integer value of | |

| Subtract two objects using |

Subscripted assignment | |

Subscripted reference | |

| Sum of array elements |

Element-by-element multiplication of | |

| Construct unsigned fixed-point numeric object |

Convert | |

Stored integer value of | |

Convert | |

Convert | |

Negate elements of | |

Upper bound of range of | |

Vertically concatenate multiple |