Bug: In Embedded MATLAB, missing implicit type conversion when updating an array element
| Submitted | Product | Status | ||
|---|---|---|---|---|
| 2023-01-14 | Reactis for Simulink | Resolved in 2022.2.2 (released Jun 30, 2023; release notes) | ||
|
In Embedded MATLAB (EML), when an array element is updated, MATLAB implicitly converts the new value for the element to the base type of the array. Reactis was not performing this implicit conversion. If an operation in a MATLAB Function block performs such an array update, Reactis gives an error "Computed output does not match expected Type". | ||||