I am trying to configure Matlab web app server on my Ubuntu desktop running version 18.04. I was able to install both Matlab as well as web app server in my machine. When I try to configure MATLABWebAppServer following the steps given in https://www.mathworks.com/help/compiler/webapps/configure-matlab-web-app-server.html, I get this error:
MathWorks::System::IUserException [Error using matlab.internal.webwindow (line 310)MATLABWindow application failed to launch. Unable to launch the MATLABWindow applicationError in matlab.ui.internal.controller.platformhost.CEFFigurePlatformHost/createView (line 58)Error in matlab.ui.internal.controller.FigureController/createView (line 223)Error in matlab.ui.internal.componentframework.WebComponentController/add (line 75)Error in matlab.ui.internal.controller.WebCanvasContainerController/add (line 52)Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 93)Error in compiler.internal.mdwas.manager.WebAppAdminController (line 42)Error in compiler.internal.mdwas.manager.WebAppsAdminPanel/startupFcn (line 57)Error in compiler.internal.mdwas.manager.WebAppsAdminPanel>@(app)startupFcn(app,varargin{:})Error in appdesigner.internal.service.AppManagementService/tryCallback (line 286)Error in matlab.apps.AppBase/runStartupFcn (line 24)Error in compiler.internal.mdwas.manager.WebAppsAdminPanel (line 376)Error in mdwas_manager_main_debug (line 7)Error in mdwas_manager_main (line 2)]MathWorks::System::IUserException [Dot indexing is not supported for variables of this type.Error in matlab.ui.internal.componentframework.services.core.eventhandling.WebEventHandlingService/setProperty (line 199)Error in matlab.ui.internal.controller.WebCanvasContainerController/updateSceneChannel (line 137)Error in matlab.ui.internal.controller.WebCanvasContainerController/set.Canvas (line 91)Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 93)Error in compiler.internal.mdwas.manager.WebAppAdminController (line 42)Error in compiler.internal.mdwas.manager.WebAppsAdminPanel/startupFcn (line 57)Error in compiler.internal.mdwas.manager.WebAppsAdminPanel>@(app)startupFcn(app,varargin{:})Error in appdesigner.internal.service.AppManagementService/tryCallback (line 286)Error in matlab.apps.AppBase/runStartupFcn (line 24)Error in compiler.internal.mdwas.manager.WebAppsAdminPanel (line 376)Error in mdwas_manager_main_debug (line 7)Error in mdwas_manager_main (line 2)]
The command doesn't exit but hangs after printing this error message. Is this a known issue? What can I do to configure the WebAppServer on Ubuntu 18.04? Thanks!
Best Answer