Error using readtable (line 318)
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Dakota Chiorando
le 28 Juin 2021
Commenté : Dakota Chiorando
le 1 Juil 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: ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/667365/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/667365/image.png)
Please let me know any possible solutions if anyone else has come across this issue.
0 commentaires
Réponse acceptée
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.
Plus de réponses (0)
Voir également
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!