Back to all issues

Issue 5187

Bug: In Embedded MATLAB, missing implicit type conversion when updating an array element


SubmittedProductStatus
2023-01-14Reactis for SimulinkResolved 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".