Back to all issues

Issue 5189

Bug: Support EML functions with an input and output argument with the same name


SubmittedProductStatus
2023-02-01Reactis for SimulinkResolved in 2022.2.2 (released Jun 30, 2023; release notes)

In Embedded MATLAB (EML), functions can have an input and output argument with the same name. When such a function is evaluated, the output argument is initialized to the value passed in for the input argument. Reactis previously did not support this feature, so evaluation of such a function could result in an error of the form "function myfun failed to assign value to output argument."