Bug: Error raised if return variable of graphical function has same name as variable in parent chart
| Submitted | Product | Status | ||
|---|---|---|---|---|
| 2026-01-27 | Reactis for Simulink | Resolved in 2025.2.2 (released Jun 04, 2026; release notes) Resolved in 2025.0.4 (released Jun 04, 2026; release notes) | ||
|
For Stateflow charts using the MATLAB action language, if the name of a return variable in a graphical function is the same as the name of a variable in the graphical function's parent Stateflow chart, then Reactis incorrectly produces an error "No return value assigned for foo" (where foo is the name of the return variable). Note, that the same issue occurs for Simulink functions within Stateflow charts using the MATLAB action language. This is because under the hood such Simulink functions in Stateflow charts are converted to graphical functions. | ||||