MATLAB Answers

App designer fails to open (R2016b)

11 views (last 30 days)
cwj
cwj on 16 Oct 2016
Commented: Aditya Kaki on 20 Aug 2018
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 Comments
Aditya Kaki
Aditya Kaki on 20 Aug 2018
I still have this problem. if anyone has found solution could you please share it here.

Sign in to comment.

Answers (1)

Prasad Mendu
Prasad Mendu on 18 Oct 2016
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 Comment
cwj
cwj on 19 Oct 2016
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.

Sign in to comment.

Tags

Products

Community Treasure Hunt

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

Start Hunting!