MATLAB Answers


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

Asked by Torsten Knodt on 4 Aug 2016
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:
y is defined as:
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?


Sign in to comment.

0 Answers