Back to all issues

Issue 5708

Bug: "Error: undefined variable" for some EML charts using hasChanged()


SubmittedProductStatus
2025-05-27Reactis for SimulinkResolved in 2024.2.2 (released Jun 03, 2025; release notes)
Resolved in 2024.0.5 (released Jun 03, 2025; release notes)

If a Stateflow chart with EML action language contains hasChanged() functions on transitions originating from a junction instead of a state, Reactis produces the following message:

Error: Undefined variable: [varname]
Variable '[varname]' is not visible in state 'juncXX'