why reading .xls file using xlsread returns empty variables?
显示 更早的评论
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 个评论
KSSV
2020-11-20
Try readtable.
Nora Khaled
2020-11-20
Mathieu NOE
2020-11-20
can you share your excel file ?
Nora Khaled
2020-11-20
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!