getting error: Can't reload '/usr/local/MATLAB/R2018a/bin/glnxa64/libmwsl_graphical_classes.so' when trying to use tabularTextDatastore
Show older comments
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 Comment
Niklas
on 22 Feb 2019
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.
Answers (2)
Niklas
on 22 Feb 2019
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
2 Comments
Mauricio Girardi Schappo
on 25 Mar 2021
this solved my problem :)
Gowtham Dubakula
on 26 Mar 2021
after installing the jre again the problem is coming
kira
on 22 Feb 2019
1 vote
4 Comments
Phillip Chiu
on 6 May 2019
I was having issues using readtable in parallel on Linux (R2018a, Centos 7) - error about readData.
This fixed the issue, but I have no idea why. It would be nice to get some info from Mathworks on why this works.
Mengyue Geng
on 18 Feb 2020
Thanks! I also fixed a similar error.
zihan cui
on 17 Aug 2020
Thanks! This solution helped a lot.
Gowtham Dubakula
on 26 Mar 2021
i faced this error while opening simulink . I did this method again this error coming , what i have to do now?
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!