Back to all issues

Issue 5657

Bug: "Undefined function or variable" error for some comparisons to enumerated types in EML charts


SubmittedProductStatus
2025-04-03Reactis 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 model contains a MATLAB-language Stateflow chart in which an enumerated constant is used but the same enumerated type is not used anywhere else in the model AND the enumerated type is defined within a data dictionary (not by a .m file) then Reactis may produce an error message saying "Undefined function or variable: x" where x is the name of the enumerated type.