My model includes an Embedded MATLAB Function block, in which I attempt to perform mathematical operations using data of type integer (e.g., int8, uint8, int16, uint16, etc.). When I simulate my model, the following error is returned:
Expected either a logical, char, single, or double. Found a int8. Function 'Embedded MATLAB Function' (#48.131.133), line 5, column 6: "x1"
Best Answer