MATLAB: Two errors: “Fixed-point error” and then “Expected a numeric value. Found a embedded.fi (double)”

embedded matlab functionembedded.fifixed-pointm-functionsimulinksimulink fixed pointsine

I am using a sine block and an M-Function. Everything was working fine yesterday but I don't know if I changed something in the configuration that today none of the simulink models with these blocks are working.
First it comes with these two errors:
Error in 'series_connection_1FB_Qpi/Cluster control/Variable Sine Wave Generator/Sine/Sine': Initialization commands cannot be evaluated.
'series_connection_1FB_Qpi/Cluster control/Variable Sine Wave Generator/Sine/Sine/Look-Up Table' requested use of data type 'sfix16_En14'. Use of this data type requires a fixed-point license, but license checkout failed. To use this model without a fixed-point license, select "Fixed-Point Tool" under "Fixed-Point" from the model's Tools menu. Select the root model in Model Hierarchy. Set "Fixed-point instrumentation mode" to be "Force off", "Data type override" to be "Double" and "Data type override applies to" to be "All numeric types". This replaces most uses of fixed-point data types with floating-point doubles. In rare cases, a few attempts to use restricted data types may still exist. Reconfiguring to use floating-point types and/or inserting Typecasts is necessary in these cases.
Then I changed what it says and appears another error that I couldn't find what it is:
Expected a numeric value. Found a embedded.fi {double}
Function 'Three H-Bridge v1.1i + Control v1.1d Arm 1/PWM & Voltage Balancing v1.1d/Capacitor Balancing Algorithm' (#18.1725.1748), line 60, column 31:
"not(abs(cell_gates_in))"
Launch diagnostic report.
It was working yesterday! Could be because the fixed-point license is expired? But I have my doubts because other times this same error appears, I changed the fixed-point tool and then it worked again.
Thanks for your help!

Best Answer

Ok, I solved the problem isolating the sine block from the M-function block and changing what the error proposes only for the sine block. Then it worked again.
But I still don't knowing why the second error.
Related Question