Why is it not explicitly mentioned in the documentation for Simulink Accelerator that fixed-point parameters with word lengths of greater than 32 bits are not supported?
4 views (last 30 days)
Show older comments
The documentation for the Simulink Accelerator does not mention the fact that fixed-point parameters with word length more than 32 bits are not supported in Accelerator mode. However, I receive following error when attempting to execute a model with 34 bit data:
This model can't generate code for the intended TARGET C compiler. Block 'test_R14sp2/Constant' is using the data type 'sfix34_En12' which requires 34 bits, but the maximum supported by the TARGET C compiler is 32.
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
The documentation for the Simulink Accelerator is missing the following information:
For code generation, including simulation with the Simulink Accelerator, fixed-point parameters are limited to word lengths of 32 bits or less.
0 Comments
More Answers (0)
See Also
Categories
Find more on Fixed-Point Designer in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!