Error using readtable (line 318)

3 views (last 30 days)
I need to read the tsunamis.xlsx file on MATLAB, however, I keep getting this error when I go to use the readtable function. I am the only person in my class having trouble opening the file and do not appear to be doing anything differently than any of my classmates. Here is the error I am receiving:
Please let me know any possible solutions if anyone else has come across this issue.

Accepted Answer

Aparajith Raghuvir
Aparajith Raghuvir on 28 Jun 2021
I understand you're getting an error when reading 'tsunamis.xlsx'
Run the following code and it should work fine
Clear all
Bdclose all
fClose all
tsunamis = readtable('tsunamis.xlsx')
You may also run your code on MATLAB Online where it should work.

More Answers (0)

Categories

Find more on Data Import from MATLAB 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!