Error: Cast between fixpt and floating point type is not supported
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
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 Kommentar
Walter Roberson
am 27 Jun. 2015
Antworten (0)
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!