reading a .xls file

1 view (last 30 days)
Thishan Dharshana Karandana Gamalathge
Commented: Walter Roberson on 15 Jun 2018
when i try to read a .xls file it gives the following error. I do not see any difference in line 251. Length of the file is just about 2000 rows and 13 columns.
Error using xlsread (line 251) XLSREAD unable to read sheet '2017'. File contains unexpected record length. Try saving as Excel 98.
  9 Comments
Thishan Dharshana Karandana Gamalathge
I am not clear what either Guillaume and Walter say how to proceed with csv or readtable.
Walter Roberson
Walter Roberson on 15 Jun 2018
T1 = readtable('fire_archive_M6_12734_T.xls', 'Sheet', 1);
T2 = readtable('fire_archive_M6_12734_T.xls', 'Sheet', 2);

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!