Matlab and Ubuntu fresh installations: buttons (log in, Add-Ons) do not work

5 次查看(过去 30 天)
Under Add-Ons:
  • "Get Add-Ons": does nothing
  • "Manage Add-Ons": does nothing
  • "Package Toolbox": successfully opens empty .prj window
  • "Get Hardware Support Packages": does nothing
  • "Check for updates": seems to work
"log in" button does not work.
Trying to start Simulink, Library Browser shows up, but the main window fails with the following error in the Matlab console:
Warning: MATLABWindow application failed to launch. Unable to launch the MATLABWindow application
> In sltemplate.ui.StartPage/showWithFallback
In sltemplate.ui.StartPage.show
I was trying to follow this instruction, but run into an error:
>>cd(matlabroot)
>>! bin/glnxa64/MATLABWindow
bin/glnxa64/MATLABWindow: symbol lookup error: /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0: undefined symbol: g_log_structured_standard
I am running a fresh installation of Linux Mint 19, which is built up on Ubuntu and should be the same in terms of packages installation and running.

采纳的回答

Akshay Khadse
Akshay Khadse 2018-9-14
This error usually occurs when there are incompatible libraries.
As you mentioned, 'libatk-1.0.so.0' is causing this issue on your system. You can try setting aside MATLAB’s copy of the same library, located in 'matlabroot/cefclient/sys/os/glnxa64'.
Assumuing that you are using MATLAB R2017b, to set aside MATLAB’s copy of the 'libatk-1.0.so.0' library (for example), please navigate to MATLAB R2017b installation location in your system and remove the “libatk-1.0.so.0” library file shipped with MATLAB R2017b, so that MATLAB will use the system version of that library:
'matlabroot/sys/os/glnxa64'
Note: Here 'matlabroot' is the location in your system where MATLAB R2017b is installed.
Eg: ‘/usr/local/MATLAB/R2017b’.
Following are the commands to execute in linux shell to perform the above mentioned operation: (You may need root privilege)
# cd /usr/local/MATLAB/R2017b (or wherever you may have installed MATLAB)
# cd cefclient/sys/os/glnxa64 (or whichever directory is indicated in original ML Answer)
# mkdir exclude
# mv libglib-2.0.so* exclude/ (or whichever library is indicated in original ML Answer)
You could refer to the original MATLAB Answer you referred to here for more information. However, please read the note at the start of the answer as you will need to move any related libraries too.
  1 个评论
Ruslan Lagashkin
Ruslan Lagashkin 2018-9-14
Thank you for the answer. The solution helped with the described problems.
The only additional comment is that upon executing the instructions and launching MATLAB, I immediately proceeded to downloading the "Communications System Toolbox Support Package for RTL-SDR Radio Examples". After installation, I proceeded to the toolbox setup window, and then closed it with the cross in the corner. It caused the crush of my current x-session (freeze for ~10 seconds, then black screen, then I had to relogin to the OS login screen).
Hereby attaching the crash dump.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by