Error: Cast between fixpt and floating point type is not supported
Info
This question is closed. Reopen it to edit or answer.
Show older comments
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 Comment
Walter Roberson
on 27 Jun 2015
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!