Can't launch appdesigner in R2019b on Win10

19 views (last 30 days)
When I try to run appdesigner with no arguments, it fails:
>> appdesigner
Error using appdesservices.internal.browser.WebWindowController/startBrowser (line 103)
Unable to start App Designer due to an internal error.
Unexpected exception in plug-in: 'Assertion violation'
Error in appdesservices.internal.browser.AbstractBrowserController/start (line 120)
obj.startBrowser(obj.StartBrowserArguments);
Error in appdesservices.internal.peermodel.BrowserControllerFactory/launch (line 77)
browserController.start();
Error in appdesigner.internal.application.AppDesignerWindowController/startBrowser (line 75)
obj.BrowserController = browserControllerFactory.launch(initialBrowserState);
Error in appdesigner.internal.application.AppDesignEnvironment/startAppDesigner (line 103)
obj.AppDesignerWindowController.startBrowser(obj.BrowserControllerFactory);
Error in appdesigner (line 28)
appDesignEnvironment.startAppDesigner();
This is in R2019b on Windows 10.
I had just been running appdesigner previously. It had hung up and wouldn't respond, so I quit MATLAB and restarted it, and that's when I started getting the above error. I tried rebooting my machine and running appdesigner first thing after launching MATLAB, to no avail. I also tried clearing my path of anything not from MathWorks (i.e., anything not under C:\Program Files\MATLAB\R2019b), and still the same error.
Note: I have the GUIDE-to-AppDesigner converter add-on installed; I can't remove it because the "Add-Ons->Manage Add-Ons" doesn't do anything now. I did try removing the converter's directory from my path (it was the last thing in the path) before launching appdesigner, but I got the same error.
I saw some Ubuntu users in R2017 and R2018 were having a similar problem (see www.mathworks.com/matlabcentral/answers/397138). I couldn't do the library manipulation suggested there because it was for Linux, but I tried the other suggestion:
w = matlab.internal.webwindow('mathworks.com')
and MATLAB hung on this.
Any ideas? I really need to develop an app soon!
  7 Comments
Marcel Goldschen-Ohm
Marcel Goldschen-Ohm on 11 Jun 2021
I was also getting a similar error in R2021a and also could not open an internal webwindow. The problem went away when I removed from my path several packages that I had downloaded from GitHub, so you might try resetting your path to default and/or removing 3rd party add-ons you are not absolutely sure about and see if the problem persists or not. I have not attempted to dig into what about those packages was causing the problem, but the two I removed were https://github.com/oliver-carr/Time-Varying-Hidden-Markov-Model and HMM toolbox at https://www.cs.ubc.ca/~murphyk/Software/HMM/hmm.html. Hope it helps.
Longfrei Bai
Longfrei Bai on 30 Sep 2021
I also have the same issue, even if I start with an empty path..

Sign in to comment.

Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!