What is the cause of the error message "FIMATH mismatch:Property 'ProductWordLength'" here?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I get the error message
FIMATH mismatch:Property 'ProductWordLength': 16 ~= 32
from the following action code in a state transition table:
y = fi(10,0,32,10,'ProductMode','SpecifyPrecision','ProductWordLength',32,'ProductFractionLength',10)^x;
where x is defined as:
fixdt(0,8,5)
y is defined as:
fixdt(0,32,10)
The 16 seems to come frome the native number of bits in the hardware implementation details.
Following to this. Is there a short way to just calculate 10^x in the precision of y in StateFlow?
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Get Started with Fixed-Point Designer finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!