Error 'MATLAB:err_while_looking_up_function' while using readtable.
12 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Tim VW
am 30 Apr. 2018
Beantwortet: Ilario Gelmetti
am 24 Jan. 2022
I just upgraded to MATLAB 2018 and now when I try to use readtable, it gives the following error:
Error using readtable (line 197)
An error occurred while trying to determine whether "readData" is a function name
Note: readtable detected the following parameters:
'Delimiter', ',', 'HeaderLines', , 'ReadVariableNames', true, 'Format', ''
Line 197 in readtable is (to only uncommented line in the whole function):
t = table.readFromFile(filename,varargin);
Anyone knows what causes this error?
8 Kommentare
Jackson
am 17 Jul. 2018
Hello, I have this error with a fresh install of R2018a on a fresh install of Ubuntu 18.04. The offending file is attached. All my code worked very well in R2015b, which I was previously using.
Joe Wishon
am 24 Aug. 2018
I am having same issue with fresh install of R2018a in Windows 10. Not a problem with R2017b.
Akzeptierte Antwort
Weitere Antworten (1)
Ilario Gelmetti
am 24 Jan. 2022
As OP specified that Support pointed him to a Linux distro-specific issue, here is how I solve this issue on Arch Linux:
Preloading libfreetype library prepending this
LD_PRELOAD=/usr/lib/libfreetype.so.6
to the terminal command I use for running Matlab.
So for R2018a the full command is:
LD_PRELOAD=/usr/lib/libfreetype.so.6 /usr/local/MATLAB/R2018a/bin/matlab
0 Kommentare
Siehe auch
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!