To narrow-down the issue to exactly the one described here, please try running the following code on the affected system:\n>> w = matlab.internal.webwindow('http://mathworks.com')
The above line of code will show the following error message on systems which are affected by this issue: \n\nERROR: Error using matlab.internal.webwindow (line 310)
MATLABWindow application failed to launch. Unable to launch the MATLABWindow application
\nWorkaround:
The workaround for this issue is identical to one published in a previous bug report for a MATLAB R2017b issue with Ubuntu 17.10:
The workaround requires modifying one of the libraries in the MATLAB installation directory. Note that the first line below may need to be changed if MATLAB is not installed in the default location. Additionally, this may require administrator privileges on your system:
# cd /usr/local/MATLAB/R2017b
# cd cefclient/sys/os/glnxa64
# mkdir exclude
# mv libglib-2.0.so* exclude/
# exit
\nOnce the libglib-2.0.so libraries are moved, please try running the following code again:>> w = matlab.internal.webwindow('mathworks.com')
>> w.show
\nIf the workaround has been applied correctly, the above code will launch a mini-browser window that shows the mathworks.com website.
6 Comments
Direct link to this comment
https://it.mathworks.com/matlabcentral/answers/397138-why-do-i-get-a-matlabwindow-application-failed-to-launch-error-when-launching-live-editor-app-des#comment_570588
Direct link to this comment
https://it.mathworks.com/matlabcentral/answers/397138-why-do-i-get-a-matlabwindow-application-failed-to-launch-error-when-launching-live-editor-app-des#comment_570588
Direct link to this comment
https://it.mathworks.com/matlabcentral/answers/397138-why-do-i-get-a-matlabwindow-application-failed-to-launch-error-when-launching-live-editor-app-des#comment_681570
Direct link to this comment
https://it.mathworks.com/matlabcentral/answers/397138-why-do-i-get-a-matlabwindow-application-failed-to-launch-error-when-launching-live-editor-app-des#comment_681570
Direct link to this comment
https://it.mathworks.com/matlabcentral/answers/397138-why-do-i-get-a-matlabwindow-application-failed-to-launch-error-when-launching-live-editor-app-des#comment_823313
Direct link to this comment
https://it.mathworks.com/matlabcentral/answers/397138-why-do-i-get-a-matlabwindow-application-failed-to-launch-error-when-launching-live-editor-app-des#comment_823313
Direct link to this comment
https://it.mathworks.com/matlabcentral/answers/397138-why-do-i-get-a-matlabwindow-application-failed-to-launch-error-when-launching-live-editor-app-des#comment_984770
Direct link to this comment
https://it.mathworks.com/matlabcentral/answers/397138-why-do-i-get-a-matlabwindow-application-failed-to-launch-error-when-launching-live-editor-app-des#comment_984770
Direct link to this comment
https://it.mathworks.com/matlabcentral/answers/397138-why-do-i-get-a-matlabwindow-application-failed-to-launch-error-when-launching-live-editor-app-des#comment_1005682
Direct link to this comment
https://it.mathworks.com/matlabcentral/answers/397138-why-do-i-get-a-matlabwindow-application-failed-to-launch-error-when-launching-live-editor-app-des#comment_1005682
Direct link to this comment
https://it.mathworks.com/matlabcentral/answers/397138-why-do-i-get-a-matlabwindow-application-failed-to-launch-error-when-launching-live-editor-app-des#comment_1124495
Direct link to this comment
https://it.mathworks.com/matlabcentral/answers/397138-why-do-i-get-a-matlabwindow-application-failed-to-launch-error-when-launching-live-editor-app-des#comment_1124495
Sign in to comment.