Unable to read excel file
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi
I'm unable to read this excel file. I tried restarting my computer, but it does not work.
Anybody knows what the issue could be?
readtable(SMHI2.xlsx);
2 commentaires
Stephen23
le 6 Avr 2023
"Anybody knows what the issue could be?"
readtable('SMHI2.xlsx')
% ^ ^ missing quotation characters
Réponse acceptée
Venkat Siddarth
le 6 Avr 2023
Modifié(e) : Venkat Siddarth
le 6 Avr 2023
From the code snippet you shared,I found that you are missing quotes around the file name parameter value.The syntax of the readtable function with file name is as follows:
readtable('<filename>');
I hope this resolves the issue
Thanks
Venkat Siddarth V
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Matrix Indexing 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!