Unable to read excel file
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Joel
am 6 Apr. 2023
Kommentiert: Joel
am 6 Apr. 2023
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 Kommentare
Stephen23
am 6 Apr. 2023
"Anybody knows what the issue could be?"
readtable('SMHI2.xlsx')
% ^ ^ missing quotation characters
Akzeptierte Antwort
Venkat Siddarth
am 6 Apr. 2023
Bearbeitet: Venkat Siddarth
am 6 Apr. 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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!