Error 'MATLAB:er​r_while_lo​oking_up_f​unction' while using readtable.

조회 수: 12 (최근 30일)
Tim VW
Tim VW 2018년 4월 30일
답변: Ilario Gelmetti 2022년 1월 24일
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
Jackson
Jackson 2018년 7월 17일
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
Joe Wishon 2018년 8월 24일
I am having same issue with fresh install of R2018a in Windows 10. Not a problem with R2017b.

댓글을 달려면 로그인하십시오.

채택된 답변

Tim VW
Tim VW 2018년 7월 17일
I contacted official support and after some investigation, they told me it was because my linux distribution (Manjaro) is not officially supported. So I guess there is no real solution except for using an older matlab version or other OS.
  댓글 수: 1
Joe Wishon
Joe Wishon 2018년 8월 24일
Same issue Windows 10. Matlab2017b works flawlessly. Fresh install.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Ilario Gelmetti
Ilario Gelmetti 2022년 1월 24일
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

카테고리

Help CenterFile Exchange에서 Introduction 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