Error using readtable (line 318)

2 vues (au cours des 30 derniers jours)
Dakota Chiorando
Dakota Chiorando le 28 Juin 2021
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.

Réponse acceptée

Aparajith Raghuvir
Aparajith Raghuvir le 28 Juin 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.
  1 commentaire
Dakota Chiorando
Dakota Chiorando le 1 Juil 2021
Awesome! Thanks for your help!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Data Import from MATLAB dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by