Back to all issues

Issue 5599

Bug: Reactis uses incorrect dimensions for Simulink.signal if 'Dimensions' field is a string


SubmittedProductStatus
2024-12-12Reactis for SimulinkResolved in 2024.2.1 (released Jan 30, 2025; release notes)
Resolved in 2024.0.4 (released Jan 30, 2025; release notes)

MATLAB allows for the 'Dimensions' field of a Simulink.Signal object to be either a scalar number, array or a string. If it is a string then MATLAB will evaluate the string in the base workspace.

For the 'string' case, Reactis currently uses the ASCII value of the string's characters as the dimensions. This can result in various errors, including the "cannot convert ... to boolean" error reported by ASTEMO.