Info

This question is closed. Reopen it to edit or answer.

Error: Cast between fixpt and floating point type is not supported

1 view (last 30 days)
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

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!