why reading .xls file using xlsread returns empty variables?
Ältere Kommentare anzeigen
Hello
I have some data in a .xls file. the file content is four colunms. the first row is a header then all others are numbers.
I tried to simply use
[ndata, text, alldata] = xlsread(filename)
but it does not return anything
ndata =
[]
text =
0×0 empty cell array
alldata =
1×1 cell array
{[NaN]}
How can I solve this problem?
Thanks!
4 Kommentare
KSSV
am 20 Nov. 2020
Try readtable.
Nora Khaled
am 20 Nov. 2020
Mathieu NOE
am 20 Nov. 2020
can you share your excel file ?
Nora Khaled
am 20 Nov. 2020
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Spreadsheets finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!