Back to all issues

Issue 5378

Bug: M file exported from test suite may contain '~' (tilde) character for unary minus (negation)


SubmittedProductStatus
2024-04-03Reactis for SimulinkResolved in 2023.2.2 (released Jun 05, 2024; release notes)
Resolved in 2023.0.4 (released Jun 05, 2024; release notes)
Open in 2022.2.4

An M file that is exported as a timeseries with fixed-point values exported as fixpoint (fi) objects initializes the timeseries data for slope/bias fixed-point outputs using the bias value. If the bias is negative, the output contains '~' (tilde) for negation instead of '-', which is not valid MATLAB syntax.