Errors in fixed-point conversion: emlcprivate and fpVerifyNumerics

5 views (last 30 days)
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

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!