App designer fails to open (R2016b)

조회 수: 2 (최근 30일)
cwj
cwj 2016년 10월 16일
댓글: Aditya Kaki 2018년 8월 20일
This has occurred to me with two separate installations of MATLAB R2016b (on OSX El Capitan and OSX Sierra). Simply typing "appdesigner" or attempting to open an app previously created with App Designer causes an empty window titled "MATLABWindow" to appear, with no editor in sight. Which kind of is a problem since these apps can not be edited with the standard editor. Why, and how can it be resolved?
  댓글 수: 5
Mr.Smiley
Mr.Smiley 2016년 11월 2일
I also have this issue on two separate installations: R2016b on Windows 10, and R2016b on Windows 7 Enterprise virtual machine. I had not had any issues until a day or two ago when neither installation would work. The only thing they have in common is they both access local clones of the same Git remote repository.
Aditya Kaki
Aditya Kaki 2018년 8월 20일
I still have this problem. if anyone has found solution could you please share it here.

댓글을 달려면 로그인하십시오.

답변 (1개)

Prasad Mendu
Prasad Mendu 2016년 10월 18일
As Walter mentioned in the comments, you can try generating the preferences again by executing the command given below at MATLAB Command Window, or by renaming the existing preference directory.
>>prefdir
One possible reason for this issue could be custom networking configuration of your computer. To workaround that, add the following line to the /private/etc/hosts file:
127.0.0.1 localhost
After making this change, execute the command:
dscacheutil -flushcache;sudo killall -HUP mDNSResponder
After doing this, restart (or start) MATLAB and try using App Designer again.
The following site has instructions for updating the hosts file:
  댓글 수: 1
cwj
cwj 2016년 10월 19일
Thank you for the answer. Unfortunately, typing "prefdir" or regenerating the preferences directory by removing the old one did not solve the issue. The line "127.0.0.1 localhost" was also already present in the hosts file and running the commands "dscacheutil -flushcache;sudo killall -HUP mDNSResponder" did not help.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by