Appdesigner does not start in Matlab 2016

4 次查看(过去 30 天)
When I want to start up appdesigner I do get immediately an error. How can I startup the appdesigner. I am using Windows as OS.
>> appdesigner
Warning: The following error was caught while executing
'appdesservices.internal.browser.AbstractBrowserController' class destructor:
Undefined function 'isvalid' for input arguments of type 'double'.
Error in appdesservices.internal.browser.WebWindowController/closeBrowser (line 127)
if isvalid(obj.WebWindow) && obj.WebWindow.isWindowValid
Error in appdesservices.internal.browser.AbstractBrowserController/delete (line 51)
obj.closeBrowser();
Error in appdesservices.internal.browser.WebWindowController (line 28)
function obj = WebWindowController(varargin)
Error in appdesservices.internal.peermodel.BrowserControllerFactory/launchWebwindow (line 81)
browserController = appdesservices.internal.browser.WebWindowController(varargin{:});
Error in appdesservices.internal.peermodel.BrowserControllerFactory/launch (line 73)
browserController = obj.CallbackMethod(varargin{:});
Error in appdesigner.internal.application.AppDesignerWindowController/startBrowser (line 96)
obj.BrowserController = obj.BrowserControllerFactory.launch(initialBrowserState);
Error in appdesigner.internal.application.AppDesignEnvironment/startAppDesigner (line 151)
obj.AppDesignerWindowController.startBrowser(inputArguments{:});
Error in appdesigner (line 62)
appdesigner.internal.application.getAppDesignEnvironment().startAppDesigner(filePath);
> In appdesservices.internal.browser.WebWindowController (line 28)
In appdesservices.internal.peermodel.BrowserControllerFactory/launchWebwindow (line 81)
In appdesservices.internal.peermodel.BrowserControllerFactory/launch (line 73)
In appdesigner.internal.application.AppDesignerWindowController/startBrowser (line 96)
In appdesigner.internal.application.AppDesignEnvironment/startAppDesigner (line 151)
In appdesigner (line 62)
Error using matlab.internal.webwindow (line 275)
Unable to start MATLABWindow process
Error in appdesservices.internal.browser.WebWindowController/startBrowser (line 70)
webWindow = matlab.internal.webwindow(browserOptions.URL,...
Error in appdesservices.internal.browser.AbstractBrowserController (line 47)
obj.startBrowser(browserOptionsStruct);
Error in appdesservices.internal.browser.WebWindowController (line 30)
obj = obj@appdesservices.internal.browser.AbstractBrowserController(varargin{:});
Error in appdesservices.internal.peermodel.BrowserControllerFactory/launchWebwindow (line 81)
browserController = appdesservices.internal.browser.WebWindowController(varargin{:});
Error in appdesservices.internal.peermodel.BrowserControllerFactory/launch (line 73)
browserController = obj.CallbackMethod(varargin{:});
Error in appdesigner.internal.application.AppDesignerWindowController/startBrowser (line 96)
obj.BrowserController = obj.BrowserControllerFactory.launch(initialBrowserState);
Error in appdesigner.internal.application.AppDesignEnvironment/startAppDesigner (line 151)
obj.AppDesignerWindowController.startBrowser(inputArguments{:});
Error in appdesigner (line 62)
appdesigner.internal.application.getAppDesignEnvironment().startAppDesigner(filePath);
>>

回答(2 个)

Harish Ramachandran
Harish Ramachandran 2017-12-20
  • Try the command below, restart MATLAB and open Appdesigner
restoredefaultpath
  • In MATLAB, go to "Preferences -> MATLAB -> Web" and see if "Use a proxy server to connect to the internet" is checked. If it is, uncheck this option and see if the issue persists.
  • If the issue still persists check out the link below: https://www.mathworks.com/support/bugreports/1483341
  2 个评论
Sybrand Bonsma
Sybrand Bonsma 2017-12-20
Thanks for your answer. After step 1 and 2 the issue still persists. For step 3 I will contact our system administrator.
Harish Ramachandran
Harish Ramachandran 2017-12-20
Sure. Judging from the bug report it looks like it was a prevalent issue and by adding that patch providing in the zip file, things should be back to normal.

请先登录,再进行评论。


Michael Blanchard
I suffer from same issue on R2016b. I followed steps above and those in the bug report. It did not work for me on Linux.

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by