Error starting desktop r2017a on mac os Sierra (Solved)

1 次查看(过去 30 天)
Unable to launch MATLAB. The problem first happened after a crash on my former r2015b. I uninstalled it and reinstalled r2017a, updated java (1.8) and OS (mac Sierra 10.12.4), deleted some old history and preference files created by MATLAB, but the problem still exist. Everytime I try to open MATLAB, this error page shows up:
Can anyone please help me with this problem? Thanks a lot!
***********************************************************
This problem is solved after I moved some folders to other locations. All of them have or include paths that I have added to MATLAB recently. Could be some path conflicts, but I am not sure about the exact reason.
  2 个评论
Jiani Li
Jiani Li 2017-3-31
I'm wondering if this is a problem about unthorough uninstallation of the former version. Are there any specific files we need to delete on OS X system to fully erase the influence of former versions?
Jun
Jun 2017-4-12
Did you install Chinese Input Method into a MacBook Pro (2016) with Japanese Keyboard Layout.

请先登录,再进行评论。

回答(2 个)

Varun Gunda
Varun Gunda 2017-4-3
Remove your preferences directory so MATLAB will recreate it when you launch MATLAB:
Open the Finder, the blue face on the dock In Finder, click on the “Go” menu and select “Go to Folder” Go to this folder: ~/.matlab Locate the folder that corresponds to your MATLAB version and rename it. For example, rename “R2016b” to “R2016b_old”. Do not delete any folders that contain the word licenses in the folder name, e.g. R2016b_licenses. These folders contain important license information. Once the folder has been renamed, try starting MATLAB.

Jun
Jun 2017-4-7
编辑:Jun 2017-4-12
I think I find something useful for fixing the bug.
This bug was caused by Chinese Input Method. I installed Chinese Input Method into a MacBook Pro (2016) with Japanese Keyboard Layout. After running a script, if I clicked command window immediately under Chinese Input Method, the error messages will appear.
Temporary Solution:
After running a script, before clicking the command window,
change your input method to any other input methods if your current method is Chinese;
or click one of the other window blocks first, such as workspace.

类别

Help CenterFile Exchange 中查找有关 Desktop 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by