Error: Cast between fixpt and floating point type is not supported
Show older comments
Hi there,
I'm working at a very long program, and I got the following error. The program successfully passed the fixed point conversion, but still I got the following while I converting it to HDL code.
"Error: Cast between fixpt and floating point type is not supported "
I got this error either if used the following 2 orders.
Matlab M-Code:
x= zeros(1,1000000);
Y=X;
or
Y=fi(double(x),true,16,16);
Accepted Answer
More Answers (0)
Categories
Find more on User-Defined MATLAB Functions 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!