How can I increase MaxProductWordLength to 256 ? in the function code? or generated code or test code?
Show older comments
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
Accepted Answer
More Answers (0)
Categories
Find more on Object Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!