xlsread error: Array indices must be positive integers or logical values.
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Leon
am 4 Jun. 2019
Kommentiert: Star Strider
am 4 Jun. 2019
When I try to use xlsread to read the attached Excel file:
[A B C] = xlsread('AA.xlsx');
Why do I keep getting this error? It seems the problem is the last column, but why?
Error using xlsread (line 257)
Array indices must be positive integers or logical values.
Many thanks!
0 Kommentare
Akzeptierte Antwort
Star Strider
am 4 Jun. 2019
I was able to read your file without error.
However, if you have R2013b or lalter release, the readtable (link) function is likely the best option for your file:
AA_Table = readtable('AA.xlsx')
5 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Data Import from MATLAB finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!