Error: Cast between fixpt and floating point type is not supported
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
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 commentaire
Walter Roberson
le 27 Juin 2015
Réponses (0)
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!