MATLAB 2024a readtable error
Error Message:
This is a similar error as discussed here for MATLAB 2018b.
I have a script using readtable(‘data.csv’) running on MATLAB 2024a that is producing this error if I modify my path from the MATLAB default (set by restoredefaultpath):
Error using readtable (line 517)
inputs must be a string array, character vector, or cell array of character vectors.
Trouble Shooting I’ve Tried:
If I run restoredefaultpath and then execute T = readtable(‘data.csv’) it runs OK.
T = readtable(‘data.csv’)
It seems like MATLAB can find readtable.m but cannot find readData.m:
which readTable -all` returns C:Program FilesMATLABR2024atoolboxmatlabiofunreadtable.m
and
which readData -all returns ‘readdata’ not found
both with the default path and my modified path.
I’ve tried uninstalling and then reinstalling MATLAB 2024a to no sucess.
Requested Help:
However, I need to be able to modify my path so that my script can access the m-files it needs. What can I do to fix this problem? Thank you for your help!Error Message:
This is a similar error as discussed here for MATLAB 2018b.
I have a script using readtable(‘data.csv’) running on MATLAB 2024a that is producing this error if I modify my path from the MATLAB default (set by restoredefaultpath):
Error using readtable (line 517)
inputs must be a string array, character vector, or cell array of character vectors.
Trouble Shooting I’ve Tried:
If I run restoredefaultpath and then execute T = readtable(‘data.csv’) it runs OK.
T = readtable(‘data.csv’)
It seems like MATLAB can find readtable.m but cannot find readData.m:
which readTable -all` returns C:Program FilesMATLABR2024atoolboxmatlabiofunreadtable.m
and
which readData -all returns ‘readdata’ not found
both with the default path and my modified path.
I’ve tried uninstalling and then reinstalling MATLAB 2024a to no sucess.
Requested Help:
However, I need to be able to modify my path so that my script can access the m-files it needs. What can I do to fix this problem? Thank you for your help! Error Message:
This is a similar error as discussed here for MATLAB 2018b.
I have a script using readtable(‘data.csv’) running on MATLAB 2024a that is producing this error if I modify my path from the MATLAB default (set by restoredefaultpath):
Error using readtable (line 517)
inputs must be a string array, character vector, or cell array of character vectors.
Trouble Shooting I’ve Tried:
If I run restoredefaultpath and then execute T = readtable(‘data.csv’) it runs OK.
T = readtable(‘data.csv’)
It seems like MATLAB can find readtable.m but cannot find readData.m:
which readTable -all` returns C:Program FilesMATLABR2024atoolboxmatlabiofunreadtable.m
and
which readData -all returns ‘readdata’ not found
both with the default path and my modified path.
I’ve tried uninstalling and then reinstalling MATLAB 2024a to no sucess.
Requested Help:
However, I need to be able to modify my path so that my script can access the m-files it needs. What can I do to fix this problem? Thank you for your help! readtable, readdata MATLAB Answers — New Questions