How can I increase MaxProductWordLength to 256 ? in the function code? or generated code or test code?
显示 更早的评论
How can I increase MaxProductWordLength to 256 ? in the function code? or generated code or test code? I came across the below error messages
Instrumented MEX file updated.### Generating Fixed Point MATLAB Code calc_fixpt using Proposed Types
### Generating Fixed Point MATLAB Design Wrapper calc_wrapper_fixpt
### Generating Mex file for ' calc_wrapper_fixpt '
??? MaxProductWordLength is 128 bits and a minimum word length of 148 bits is necessary so that this
product can be computed with no loss of precision. Increase MaxProductWordLength if you want the
product to grow to a larger word length. To constrain the result to a type with a smaller word length,
use colon-equals assignment, A(:) = B, or the CAST function.
Error in ==> calc_fixpt Line: 6257 Column: 12
Code generation failed: View Error Report
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 AMD FPGA and SoC Devices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!