Unable to read excel file
조회 수: 3 (최근 30일)
이전 댓글 표시
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
Stephen23
2023년 4월 6일
"Anybody knows what the issue could be?"
readtable('SMHI2.xlsx')
% ^ ^ missing quotation characters
채택된 답변
Venkat Siddarth
2023년 4월 6일
편집: Venkat Siddarth
2023년 4월 6일
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!