Info
此问题已关闭。 请重新打开它进行编辑或回答。
Error: Cast between fixpt and floating point type is not supported
1 次查看(过去 30 天)
显示 更早的评论
Hello 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 "
The entire variables in the program are double , but the matlab keep creating this problem.
here is a simple of the code that got this error
Combined_S7 1x1000000 double Combined_S7_tam 1x1000000 double
for tp=2488:1:4976;
Combined_S7_tam(tp)=Combined_S7(tp);
end
>> class(Combined_S7_tam) ans =double
>> class(Combined_S7) ans =double
1 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!