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

readdatareadtable

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?

Best Answer

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.
Related Question