Why can't MATLAB reload this library

4 ビュー (過去 30 日間)
ignoramoose
ignoramoose 2016 年 9 月 10 日
コメント済み: Walter Roberson 2020 年 4 月 4 日
Hello,
I need to plot a figure, and label the axis on that figure. Matlab doesn't seem to be able to load or reload the relevant library. I've attached the whole .m file below. Relevant errors:
Error using gca
While setting the 'Parent' property of 'Axes':
Can't reload '/run/media/jcarey/HDD4/matlab3/bin/glnxa64/libmwosgserver.so'
Error in newplot (line 73)
ax = gca(fig);
Error in ex1_carey (line 91)
plot(x_dec, eq2, '+');
I'm using Linux, Fedora 24, with Matlab 2016a
Also are you supposed to say Matlab or MATLAB?

回答 (2 件)

Slaheddine Welhazi
Slaheddine Welhazi 2018 年 7 月 23 日
編集済み: Walter Roberson 2018 年 7 月 24 日
I test with Matlab R2016b
1- install wmname
sudo install wmname
2- Now you should change the window manager name to LG3D. Before executing matlab, run:
"wmname LG3D".
3-run matlab "/usr/local/MATLAB/R2016b/bin/matlab".
4-Close matlab.
5-"export LD_PRELOAD=/usr/lib64/libstdc++.so.6"
5-"run Matlab"
6-Finally it's ok
  1 件のコメント
Step para
Step para 2019 年 3 月 24 日
You saved my life, bro

サインインしてコメントする。


Sergio Duarte
Sergio Duarte 2020 年 4 月 3 日
  1 件のコメント
Walter Roberson
Walter Roberson 2020 年 4 月 4 日
That was a different bug related to TLS entries, and the error message for that bug always mentions "TLS".

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeIntroduction 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