| Fixed-Point Toolbox™ | ![]() |
The Embedded MATLAB™ subset is a restricted subset of the MATLAB® language that provides optimizations for:
Generating efficient, production-quality C code for embedded applications. Embedded MATLAB subset restricts MATLAB semantics to meet the memory and data type requirements of embedded target environments.
Accelerating fixed-point algorithms.
For more information about the Embedded MATLAB subset, refer to the Embedded MATLAB documentation. The Embedded MATLAB subset supports a significant number of Fixed-Point Toolbox™ functions, which are listed in the table below. The following general limitations always apply to the use of Fixed-Point Toolbox software with the Embedded MATLAB subset:
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 larger than 32 bits are not supported.
It is illegal to change the fimath or numerictype of a given variable once it has been created.
The boolean and ScaledDouble values of the DataTypeMode and DataType properties are not supported.
convergent rounding is not supported.
The false value of the CastBeforeSum property is not supported.
The numel function works the same as MATLAB numel for fi objects in Embedded MATLAB subset, rather than returning 1 as in Fixed-Point Toolbox software.
To learn about the general limitations of the Embedded MATLAB subset that also apply to use with Fixed-Point Toolbox software, refer to What Is the Embedded MATLAB™ Subset? in the Embedded MATLAB language subset documentation.
Fixed-Point Toolbox™ Functions Supported for Use with the Embedded MATLAB™ Language Subset
| Function | Remarks/Limitations |
|---|---|
| — | |
| — | |
| — | |
| |
| — | |
| — | |
| — | |
| — | |
| |
| — | |
| — | |
| — | |
| — | |
| — | |
| — | |
| — | |
| — | |
| — | |
| — | |
| |
| — | |
| — | |
| — | |
| — | |
| — | |
| — | |
| — | |
| — | |
| |
| — | |
| — | |
| |
| |
| |
| |
| — | |
| — | |
| |
| |
| — | |
| — | |
| |
| — | |
| — | |
| — | |
| — | |
| — | |
| — | |
| — | |
| — | |
| — | |
| — | |
| — | |
| — | |
| — | |
| — | |
| — | |
| — | |
| — | |
| |
| — | |
| — | |
| — | |
| |
| |
| — | |
| — | |
| |
| |
| — | |
| |
| — | |
| |
| |
| — | |
| |
| — | |
| — | |
| — | |
| — | |
| — | |
| — | |
| — | |
| — | |
| — | |
| — | |
| — | |
| — | |
| |
| — | |
| — | |
| — | |
| |
| — | |
| — | |
| — | |
| — | |
| — | |
| — | |
| — | |
| — |
![]() | Working with the Fixed-Point Embedded MATLAB™ Subset | Fixed-Point Embedded MATLAB™ Subset Features | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |