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!