| Contents | Index |
In addition to any function-specific limitations listed in the table, the following general limitations always apply to the use of Fixed-Point Toolbox functions in generated code or with fiaccel:
fipref and quantizer objects are not supported.
Dot notation is only supported for getting the values of fimath and numerictype properties. Dot notation is not supported for fi objects, and it is not supported for setting properties.
Word lengths greater than 128 bits are not supported.
You cannot change the fimath or numerictype of a given variable after that variable has been created.
The boolean and ScaledDouble values 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.
The numel function returns the number of elements of fi objects in the generated code.
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.
All general limitations of C/C++ code generated from MATLAB apply. See MATLAB Language Features Not Supported for Code Generation for more information.
| Function | Remarks/Limitations |
|---|---|
| N/A | |
| N/A | |
| N/A | |
| N/A | |
Not supported for slope-bias scaled fi objects. | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
Not supported for slope-bias scaled fi objects. | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
Not supported for slope-bias scaled fi objects. | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| |
| N/A | |
Variable-size signals are not supported. | |
Variable-size signals are not supported. | |
Variable-size signals are not supported. | |
Variable-size signals are not supported. | |
Variable-size signals are not supported. | |
Variable-size signals are not supported. | |
Variable-size signals are not supported. | |
Variable-size signals are not supported. | |
Variable-size signals are not supported. | |
Variable-size signals are not supported. | |
| N/A | |
If supplied, the index, k, must be a real and scalar integer value that is not a fi object. | |
| — | |
| |
| N/A | |
| N/A | |
| |
Not supported for fixed-point signals with different biases. | |
| |
| |
| |
| N/A | |
| N/A | |
Not supported for fixed-point signals with different biases. | |
The syntax structure = get(o) is not supported. | |
| N/A | |
| N/A | |
Not supported for fixed-point signals with different biases. | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
Not supported for fixed-point signals with different biases. | |
| N/A | |
| N/A | |
| N/A | |
| |
Not supported for fixed-point signals with different biases. | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
Any non-fi input must be constant; that is, its value must be known at compile time so that it can be cast to a fi object. | |
| |
When you provide complex inputs to the mpy function inside of a MATLAB Function block, you must declare the input as complex before running the simulation. To do so, go to the Ports and data manager and set the Complexity parameter for all known complex inputs to On. | |
| N/A | |
| |
| N/A | |
Not supported for fixed-point signals with different biases. | |
| N/A | |
numberofelements and numel both work the same as MATLAB numel for fi objects in the generated code. | |
| |
| N/A | |
Any non-fi input must be constant; that is, its value must be known at compile time so that it can be cast to a fi object. | |
| N/A | |
The exponent input, k, must be constant; that is, its value must be known at compile time. | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| |
| N/A | |
| N/A | |
| N/A | |
Variable-sized inputs are only supported when the SumMode property of the governing fimath is set to Specify precision or Keep LSB. | |
| |
| N/A | |
If supplied, the index, k, must be a real and scalar integer value that is not a fi object. | |
If supplied, the index, k, must be a real and scalar integer value that is not a fi object. | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A |
![]() | Requirements for Generating MEX Files from MATLAB Algorithms | Workflow for Code Acceleration and Code Generation from MATLAB for Fixed-Point Algorithms | ![]() |

Learn how to apply early verification to your development process through these technical resources.
How much time do you spend on testing to ensure implementation meets system-level requirements?
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |