Clear Filters
Clear Filters

Can`t open simulink in Ubuntu 23.04

22 views (last 30 days)
Dovlat Ibragimov
Dovlat Ibragimov on 21 Aug 2023
Answered: Shuba Nandini on 28 Aug 2023
After matlab installation it seemed to work fine, but then I tried to start Simulink and got error message. I tried to reinstall Matlab that did not help. How can I fix it?
Warning: Error using matlab.internal.cef.webwindow
MATLABWindow application failed to launch. Unable to launch the MATLABWindow application. The exit code was: 127
Error in matlab.internal.webwindow/createImplementation (line 319)
implObj = matlab.internal.cef.webwindow(varargin{:});
Error in matlab.internal.webwindow (line 163)
obj.impl = obj.createImplementation(varargin{:});
Error in sltemplate.internal.DialogWebBrowser/createWindow
Error in sltemplate.internal.DialogWebBrowser
Error in sltemplate.internal.GalleryBrowserFactory.create
Error in sltemplate.internal.GalleryController
Error in sltemplate.ui.StartPage
Error in sltemplate.ui.StartPage
Error in sltemplate.ui.StartPage/instance
Error in sltemplate.ui.StartPage/getInstance
Error in sltemplate.ui.StartPage/doShow
Error in sltemplate.ui.StartPage.showCustomView
Error in sltemplate.ui.StartPage>@()sltemplate.ui.StartPage.showCustomView('Start',[],varargin{:})
Error in sltemplate.ui.StartPage/showWithFallback
Error in sltemplate.ui.StartPage.show
> In sltemplate.ui.StartPage.showWithFallback
In sltemplate.ui.StartPage.show

Answers (1)

Shuba Nandini
Shuba Nandini on 28 Aug 2023
Hello,
I understand you are facing an issue with Simulink after MATLAB installation.
There are a few possible reasons that can cause MATLABWindow to not launch correctly:
  1. Missing Libraries: Under normal conditions, supported Linux distributions should have all the libraries needed in the Operating System to run MATLAB and the installer. However, for a variety of reasons, some may be missing on your computer.
  • To ensure that you have the correct libraries installed with your supported Linux distribution, navigate into the folder the installer is in, then the "bin" folder, and then the "glnxa64" folder.
  • In this folder, there is an application called MATLABWindow. If you launch this program with ./MATLABWindow and you will see those missing libraries appear in the error message.
  • Use your Linux distribution's package manager to install the missing libraries (such as apt, dnf, yum, or pacman.) If you are unsure what packages include the library you are missing, use your distribution's package search to find a package that contains the library you are missing. For example, if you are missing "libgtk-x11-2.0.so.0" on Ubuntu, use Ubuntu's package search site to search for the appropriate package, and then install it with "sudo apt install libgtk2.0-0".
2. Permissions: Make sure the user running MATLAB has permissions to access and execute folders and files from MATLAB's installation directory.
Please refer to the following thread to know more about this error:
I hope this helps you to run the Simulink successfully!
Regards,
Shuba Nandini

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!