Error: Cast between fixpt and floating point type is not supported
显示 更早的评论
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);
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 HDL Coder 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!