无法启动appdesigner

时间:2017-03-16 17:21:39

标签: linux matlab matlab-app-designer

我试图运行matlabs 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);

我使用Arch Linux并安装了Matlab 2016b,我还安装了AUR matlab软件包中列出的库,但没有成功。我还安装了ncurses5包并安装了oracle-jdk8。我该如何修复错误?

1 个答案:

答案 0 :(得分:1)

似乎matlab需要libselinux包才能工作。 (在Matlab 2016b中)有与您相同的错误,并通过安装该软件包修复它。