Functions Supported for Code Acceleration or C Code Generation
The following general limitations apply to the use of Fixed-Point Designer™ functions in generated code, with fiaccel:
fiprefandquantizerobjects are not supported.Word lengths greater than 65,535 bits are not supported.
You cannot change the
fimathornumerictypeof a givenfivariable after that variable has been created.The
booleanvalue of theDataTypeModeandDataTypeproperties are not supported.For all
SumModeproperty settings other thanFullPrecision, theCastBeforeSumproperty must be set totrue.You can use parallel for (
parfor) loops in code compiled withfiaccel, but those loops are treated like regularforloops.When you compile code containing
fiobjects with nontrivial slope and bias scaling, you may see different results in generated code than you achieve by running the same code in MATLAB®.
To view a list of the Fixed-Point Designer functions that are supported for code acceleration or C/C++ code generation, refer to the Fixed-Point Designer category of these tables:
In these tables, a
icon before the name of a function indicates that there are
specific usage notes and limitations related to code acceleration or code generation for that
function. To view these usage notes and limitations, in the corresponding reference page,
scroll down to the Extended Capabilities section at the bottom and expand
the C/C++ Code Generation section.