Solution
As of VeriStand Model Generation Support 23.8 and earlier, this is a known issue reported to NI. The CAR number is 2565623. The behavior arises in the Stateflow Block of the Simulink model, where certain parameters should be classified as
logical in the data type field of the model descriptor. However, parameters that are not functioning correctly are marked as
boolean. This inconsistency results in a failure in the conversion logic for the boolean type in the parameter's code path.
There are two ways to bypass this behavior:
- Modify the data type to logical in the model descriptor file.
- Replace the boolean parameters with unsigned 8-bit integer.