Appdesigner does not start in Matlab 2016

4 vues (au cours des 30 derniers jours)
Sybrand Bonsma
Sybrand Bonsma le 20 Déc 2017
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);
>>

Réponses (2)

Harish Ramachandran
Harish Ramachandran le 20 Déc 2017
  • 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 commentaires
Sybrand Bonsma
Sybrand Bonsma le 20 Déc 2017
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 le 20 Déc 2017
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.

Connectez-vous pour commenter.


Michael Blanchard
Michael Blanchard le 6 Jan 2020
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.

Catégories

En savoir plus sur Downloads dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by