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 件のコメント

Stephen23
Stephen23 2023 年 4 月 6 日
"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 件)

カテゴリ

ヘルプ センター および File ExchangeMatrix Indexing についてさらに検索

製品

リリース

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