Back to all issues

Issue 4040

Bug: "Error: suite requires 0, 1, or 2 arguments" when calling rsSimUpdateOutputs


SubmittedProductStatus
2018-08-08Reactis for SimulinkResolved in 2018.0.1 (released Oct 05, 2018; release notes)
Resolved in 2017.2.3 (released Oct 05, 2018; release notes)

When calling the API rsSimUpdateOutputs() function, if the output file (3rd parameter) contains a space, then Reactis produces an error message similar to the following:

  Error using rsSimUpdateOutputs (line 27)
  bug: Illegal command
  simulator/simulator-fn.sml, sim: Command: suite export -s -m "test" -i "test.rsi" -p
  "C:\Users\hansel\home\rsi\models\test1" test suite\test.mat
  Error: suite requires 0, 1, or 2 arguments