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

1 vue (au cours des 30 derniers jours)
jenny
jenny le 30 Juin 2023
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

Réponse acceptée

Cris LaPierre
Cris LaPierre le 30 Juin 2023
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.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by