MATLAB Answers

HDL CODER error tracing

2 views (last 30 days)
jelin leslin
jelin leslin on 13 May 2020
Answered: Nikhil Sonavane on 7 Jul 2020
I am using HDL CODER to convert my matlab script to VHDL and I get this error which I cannot trace because I dont have any function 'Idexp','exp' in my script. what does line 65, column 16 refer to ?
ERROR :Call to function 'ldexp' is not supported for HDL code generation, at Function 'eps' (#26.1994.2018), line 65, column 16 Function 'eps' (#26.1428.1473), line 46, column 20 Function 'pinv' (#69.1376.1385), line 53, column 21 Function 'pinv' (#69.573.584), line 21, column 13 Function 'InformationFilterUpdate' (#1.1191.1215), line 46, column 20.

  0 Comments

Sign in to comment.

Answers (1)

Nikhil Sonavane
Nikhil Sonavane on 7 Jul 2020
This function is introduced to the generated code due to the usage of multi word types in the model. I wouls suggest yo go through another MATLAB Answer which may help you resolve your issue

  0 Comments

Sign in to comment.

Categories

Tags

Community Treasure Hunt

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

Start Hunting!