Back to all issues

Issue 5533

Bug: Switch block produces "Unrecognized function or variable" error


SubmittedProductStatus
2024-09-19Reactis for SimulinkResolved in 2024.0.2 (released Oct 28, 2024; release notes)
Resolved in 2023.2.4 (released Oct 28, 2024; release notes)

If a Switch block's criteria is set to "u2 ~= 0" but the Threshold expression (which is not used in this case) is set to a variable that is not visible in the block's workspace then Reactis reports an error saying "Unrecognized function or variable 'xxx'."

Simulink ignores the unused threshold expression.