Back to all issues

Issue 5084

Bug: Error "Conversion to logical from Simulink.Parameter is not possible" for some variant subsystems


SubmittedProductStatus
2022-09-12Reactis for SimulinkResolved in 2022.0.1 (released Dec 05, 2022; release notes)
Resolved in 2021.2.3 (released Dec 05, 2022; release notes)

If the variant condition for a Variant Subsystem block refers to a Simulink.Variant object and the condition string in the Simulink.Variant's "Condition" property refers to a Simulink.Parameter object then Reactis produces the following error:

Error: MATLAB evaluation error
Reactis connected to MATLAB in order to execute an expression, resulting in the following error:
Conversion to logical from Simulink.Parameter is not possible.