Error starting desktop r2017a on mac os Sierra (Solved)

조회 수: 1 (최근 30일)
Jiani Li
Jiani Li 2017년 3월 31일
댓글: Jun 2017년 4월 12일
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에서 Startup and Shutdown에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by