error in ubuntu bionic 18.04 (or linux mint tara 19) using matlab r2018a.

21 次查看(过去 30 天)
everything installs fine, but then i try to open simulink this shows up.
Warning: MATLABWindow application failed to launch. Unable to launch the MATLABWindow application
> In sltemplate.ui.StartPage/showWithFallback
so i ran on matlab r2018a diagnostic:
>> cd(matlabroot)
>> ! bin/glnxa64/MATLABWindow
and this shows up:
bin/glnxa64/MATLABWindow: symbol lookup error: /usr/lib/x86_64-linux-gnu/ undefined symbol: g_log_structured_standard >>
please help me to fix this ;).
  1 个评论
Siegfried Rotthäuser
The problem is that Simulink bings its own set of libraries (like here) that could be incompatable with system libraries.
My solution is to remove Matlab's glib, in which case the system's glib is found.
mv cefclient/sys/os/glnxa64/ cefclient/sys/os/glnxa64/


回答(4 个)

Mateusz Litwin
Mateusz Litwin 2018-9-17
编辑:Mateusz Litwin 2018-9-17
Try this solution (simulink works, for now I don't found any side-effects of this solution).
  1. Go to matlab root folder
  2. cd /cefclient/sys/os/glnxa64/
  3. mkdir bak
  4. mv * /
  5. mv bak/ ./

Koen Lekkerkerker
Koen Lekkerkerker 2018-7-23
I have this issue too.

Rene Essink
Rene Essink 2018-8-3
Same to me - any suggestions?

Diogo Duarte
Diogo Duarte 2019-11-20
Here's a solution based on Mateusz's:
There's an incompatibility between licef and libglib, so let's stop them from being in the same folder.
When I list
I get:
To make changes ot this folder you need root privileges. All commands below were executed as root.
Create a backup folder bak:
cd /usr/local/MATLAB/R2017a/cefclient/sys/os/glnxa64
mkdir back
Move glib there:
mv libglib* bak/
Optionally create a README text file indicating the changes you made for future reference.
After this change, I get the message:
[1120/] Running without the SUID sandbox! See for more information on developing with the sandbox on.
GLib-GIO-[1;32mMessage[0m: [34m18:14:29.911[0m: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
[1120/181429:WARNING:cefclient_gtk.cpp(48)] X error received: type 0, serial 317, error_code 8, request_code 42, minor_code 0
But MATLABWINDOW seems to be working.
Running MATLAB R2017a on Linux Mint 19.1


Help CenterFile Exchange 中查找有关 Simulink Environment Customization 的更多信息




Community Treasure Hunt

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

Start Hunting!

Translated by