I get the following error when trying to generate HDL from a simulink model with HDL Coder:
Error: Evaluation of elaborate function on class hdldefaults.NonRestoreDivide failed with the error message: MATLAB:UndefinedFunction: Undefined function 'Signed' for input arguments of type 'hdlcoder.tp_single'.
The model runs fine in simulink. I cannot find anything helpful about any terms in this message and no link is given to any specific point in the model. I first got the error when I added a number of single precision floating point multilpy and divide blocks into the design. I reworked it to use all multiplies and a single reciprocal block but still get the same problem. I am using prelease matlab 2019b. What is the root of the problem and is there some way to track it down to a specific point in the design?
1 Comment
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/476437-evaluation-of-elaborate-function-error-in-hdl-coder#comment_737264
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/476437-evaluation-of-elaborate-function-error-in-hdl-coder#comment_737264
Sign in to comment.