getting error: Can't reload '/usr/loca​l/MATLAB/R​2018a/bin/​glnxa64/li​bmwsl_grap​hical_clas​ses.so' when trying to use tabularTextDatastore

34 ビュー (過去 30 日間)
Hello,
I'm using Matlab R2018a on a ubuntu 18.04 server and when trying to use tabularTextDatastore i got the next error:
identifier: 'MATLAB:err_while_looking_up_function'
message: 'An error occurred while trying to determine whether "readData" is a function name.'
name: 'tabularTextDatastore'
line: 120
cause:
identifier: 'MATLAB:dispatcher:loadLibrary'
message: 'Can't reload '/usr/local/MATLAB/R2018a/bin/glnxa64/libmwsl_graphical_classes.so''
I checked /usr/local/MATLAB/R2018a/bin/glnxa64/ and the file is there....
  1 件のコメント
Niklas
Niklas 2019 年 2 月 22 日
We see this error as well. We already tried to reinstall Matlab and Ubuntu several times. We found that the issue does not occure when we only install Matlab and Matlab Coder without any Toolboxes. If Toolboxes, like Machine Learning Toolbox, are additionally installed the error is back.

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

回答 (2 件)

Niklas
Niklas 2019 年 2 月 22 日
We talked to the Tech support on this. They suggested to install openjdk-8-jre as it depends on the same packages.
Use
sudo apt-get install openjdk-8-jre

kira
kira 2019 年 2 月 22 日
I solved it by creating a directory named "exclude" within "/usr/local/MATLAB/R2018a/bin/glnxa64/" and puting "libmwsl_graphical_classes.so" in it
  4 件のコメント
zihan cui
zihan cui 2020 年 8 月 17 日
Thanks! This solution helped a lot.
Gowtham Dubakula
Gowtham Dubakula 2021 年 3 月 26 日
i faced this error while opening simulink . I did this method again this error coming , what i have to do now?

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

カテゴリ

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