Errors in fixed-point conversion: emlcprivate and fpVerifyNumerics
2 views (last 30 days)
Show older comments
Hello everybody,
I'm trying to use the automatic Fixed-point conversion tool for one of my algorithms, but haven't succeeded yet. I went through the instructions of this page and successfully managed to get to Testing Numerics
When I try to use Testing Numerics to check whether the results of floating and fixed point implementations are similar, I get this error:
### Begin Fixed Point Simulation : main_AFC_test
Warning: WAVREAD will be removed in a future release. Use AUDIOREAD instead.
Warning: WAVREAD will be removed in a future release. Use AUDIOREAD instead.
Error in /usr/local/MATLAB/R2014a/toolbox/coder/coder/+coderprivate/Float2FixedManager.p>Float2FixedManager.verifyNumerics (line 298)
Error using coderprivate.Float2FixedManager/verifyNumerics
Output argument "messages" (and maybe others) not assigned during call to "/usr/local/MATLAB/R2014a/toolbox/coder/coder/+coderprivate/Float2FixedManager.p>Float2FixedManager.verifyNumerics".
Error in fpVerifyNumerics (line 4)
Error in emlcprivate (line 13)
Output argument "messages" (and maybe others) not assigned during call to "/usr/local/MATLAB/R2014a/toolbox/coder/coder/+coderprivate/Float2FixedManager.p>Float2FixedManager.verifyNumerics".
Error in fpVerifyNumerics at 4
Error in emlcprivate at 13
I looked for a solution online but couldn't find anything. Given that, as I said, the Validating Types step (the one right before Testing Numerics ) was successful, I can go on with the mex conversion, but I would like to understand why such a problem occurs.
Regards, Giuliano
0 Comments
Answers (0)
See Also
Categories
Find more on Automated Fixed-Point Conversion in MATLAB 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!