Back to all issues

Issue 4444

Bug: "Error: Unexpected MATLAB expression" if search path contains a single quote


SubmittedProductStatus
2019-09-10Reactis for SimulinkResolved in 2019.0.1 (released Nov 01, 2019; release notes)
Resolved in 2018.2.4 (released Nov 01, 2019; release notes)

If the model-specific or global search path contains a directory whose name contains a single quote (') AND the "Prepend Reactis search path to MATLAB search path" option is checked then Reactis produces the following error when either enabling Simulator or synchronizing input/output ports:

Error while loading model '[model]' in Simulink:
Simulink reported the following error while loading the model:
Error: Unexpected MATLAB expression