Matlab encounter an internal error and needs to close - on Mac OSX Sierra, after reopening the mac from sleep.
2 views (last 30 days)
MATLAB 2017a: almost every time the computer lid is closed when a MATLAB window is open (just open, NOT running a program), when the computer is opened the MATLAB process will crash.
MacBook Pro (Retina, 15-inch, Mid 2014), 2.8 GHz Intel Core i7, 16 GB 1600 MHz DDR3, NVIDIA GeForce GT 750M 2048 MB, Intel Iris Pro 1536 MB, MacOS Sierra 10.12.3 (16D32)
Michelle Wu on 28 Apr 2017
The error message is just a generic one indicating that there was an exception or problem within MATLAB that caused it to crash, and there could be many possible reasons for this. Please locate the MATLAB crash log or crash dump file and attach it in the post if you would like the community to take a look. For more information, please refer to this MATLAB Answers post:
In some cases, the graphics driver could be the cause for such crashes. To work around using your machines graphics hardware, you can execute the following command in MATLAB:
This command sets your OpenGL preferences so that future sessions of MATLAB on this computer use the preferred version (i.e. 'software') of OpenGL. Please note that it does not affect the current session. After changing OpenGL to 'software', restart MATLAB and see if the issue presists.
Updating the NVIDIA graphics driver to a current version may also help.