Back to all issues

Issue 5000

Bug: "Error: Data type mismatch" incorrectly reported for some Stateflow expressions UDTs using "pre" function


SubmittedProductStatus
2022-05-17Reactis for SimulinkResolved in 2021.2.2 (released Jun 22, 2022; release notes)
Resolved in 2021.0.4 (released Jun 22, 2022; release notes)

Stateflow expression UDTs applying the "pre" function to variables of data type other than "boolean" may produce the following message:

Error: Data type mismatch
Can not apply operator '...' to values ... (double/single/int) and ... (bool)