How can I perform mathematical operations using integers in the Embedded MATLAB function block?
Mostrar comentarios más antiguos
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"
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre String en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!