What is the cause of the error message "FIMATH mismatch:Property 'ProductWordLength'" here?

1 Ansicht (letzte 30 Tage)
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?

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by