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);
Unable to resolve the name 'SMHI2.xlsx'.

댓글 수: 2

"Anybody knows what the issue could be?"
readtable('SMHI2.xlsx')
% ^ ^ missing quotation characters
Joel
Joel 2023년 4월 6일
Thank you, mistake by me

댓글을 달려면 로그인하십시오.

 채택된 답변

Venkat Siddarth
Venkat Siddarth 2023년 4월 6일
편집: Venkat Siddarth 2023년 4월 6일

0 개 추천

Hi @Joel,
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개)

카테고리

제품

릴리스

R2023a

질문:

2023년 4월 6일

댓글:

2023년 4월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by