xlsread is not reading the complete excel table when used in 2009b

조회 수: 1 (최근 30일)
jenny
jenny 2023년 6월 30일
답변: Cris LaPierre 2023년 6월 30일
Hello,
Im tried using the readtable in 2009b but it is not compatible. So, used xlsread as below
data = xlsread('TestList.xlsx','C4:AR22');
but it is only reading the last row.
can someome please provide suggestions
thank you

채택된 답변

Cris LaPierre
Cris LaPierre 2023년 6월 30일
The syntax you are using only returns numeric data. My first guess, then, is that your spreadsheet only contains numeric data in the last row.
You can test this by calling xlsread with three outputs:
Inspect the raw variable and see if it has the data you are expecting.
If not, please attach your spreadsheet to your post using the paperclip icon.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by