Error using readtable (line 318)

조회 수: 5 (최근 30일)
Dakota Chiorando
Dakota Chiorando 2021년 6월 28일
댓글: Dakota Chiorando 2021년 7월 1일
I need to read the tsunamis.xlsx file on MATLAB, however, I keep getting this error when I go to use the readtable function. I am the only person in my class having trouble opening the file and do not appear to be doing anything differently than any of my classmates. Here is the error I am receiving:
Please let me know any possible solutions if anyone else has come across this issue.

채택된 답변

Aparajith Raghuvir
Aparajith Raghuvir 2021년 6월 28일
I understand you're getting an error when reading 'tsunamis.xlsx'
Run the following code and it should work fine
Clear all
Bdclose all
fClose all
tsunamis = readtable('tsunamis.xlsx')
You may also run your code on MATLAB Online where it should work.
  댓글 수: 1
Dakota Chiorando
Dakota Chiorando 2021년 7월 1일
Awesome! Thanks for your help!

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by