2

我正在尝试运行 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。如何修复错误?

4

1 回答 1

1

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

于 2017-04-25T19:04:20.970 回答