Back to all issues

Issue 5096

Bug: Issues with Simulink.Parameter objects containing enumerated types within buses


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

If a MATLAB workspace variable exists of type Simulink.Parameter whose type is a Simulink.Bus which in turn contains a Simulink.IntEnumType, several issues can be observed:

1) When attempting to start Simulator or Tester, Reactis produces an error message saying "Invalid conversion to enumerated type"

2) When attempting to add the variable as a configuration variable using the GUI, the variable is not shown as an option to pick from the list of workspace variables

3) When using the API function rsRsiAddConfigVar(), an error "No workspace variable named '...' was found" is produced