Uploaded image for project: 'GMAT'
  1. GMAT
  2. GMT-5093

Error message using MATLAB on Mac

    Details

      Description

      In MatlabInterface.cpp, there is a call to Matlab with a var name of 'errormsg' that is now failing on Mac. It appears, though, that the run completes successfully. Error message:

      Error using save
      Variable 'errormsg' not found.

      Error using save
      Variable 'errormsg' not found.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              shughes Steven Hughes added a comment -

              Can you attach a script that duplicates it?

              Show
              shughes Steven Hughes added a comment - Can you attach a script that duplicates it?
              Hide
              gmat_wcs Wendy Shoan added a comment -

              I get this error when I run GmatConsole in the Terminal window and run MatlabFunction_Builtin.script.

              There is a mod needed to MatlabInterface.cpp so get rid of this message but I don't see this as urgent. P2 is fine.

              Show
              gmat_wcs Wendy Shoan added a comment - I get this error when I run GmatConsole in the Terminal window and run MatlabFunction_Builtin.script. There is a mod needed to MatlabInterface.cpp so get rid of this message but I don't see this as urgent. P2 is fine.
              Hide
              gmat_wcs Wendy Shoan added a comment -

              This error message only appears to be written for the Console GMAT, not the full GUI GMAT.

              Show
              gmat_wcs Wendy Shoan added a comment - This error message only appears to be written for the Console GMAT, not the full GUI GMAT.
              Hide
              gmat_wcs Wendy Shoan added a comment - - edited

              Changing this to P1 as it can occur hundreds of times in a run (and, at least on my Mac, rings the bell each time).

              Show
              gmat_wcs Wendy Shoan added a comment - - edited Changing this to P1 as it can occur hundreds of times in a run (and, at least on my Mac, rings the bell each time).
              Hide
              gmat_wcs Wendy Shoan added a comment -

              The problem is in the call to engGetVariable in MatlabInterface::GetString(). When there is no error, the variable 'errormsg' correctly does not exist. On the Mac, though, apparently, MATLAB does not like this and spews out:

              Error using save
              Variable 'errormsg' not found.

              each time.

              Well, I can set it to not ring the bell, at least.

              Show
              gmat_wcs Wendy Shoan added a comment - The problem is in the call to engGetVariable in MatlabInterface::GetString(). When there is no error, the variable 'errormsg' correctly does not exist. On the Mac, though, apparently, MATLAB does not like this and spews out: Error using save Variable 'errormsg' not found. each time. Well, I can set it to not ring the bell, at least.
              Hide
              gmat_wcs Wendy Shoan added a comment -

              If I set it to not ring the bell, can we change this to P2 (the message(s) will still appear but at least the beep will not beep).

              Show
              gmat_wcs Wendy Shoan added a comment - If I set it to not ring the bell, can we change this to P2 (the message(s) will still appear but at least the beep will not beep).
              Hide
              gmat_wcs Wendy Shoan added a comment -

              Beep turned off; setting back to P2.

              Show
              gmat_wcs Wendy Shoan added a comment - Beep turned off; setting back to P2.

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated: