why reading .xls file using xlsread returns empty variables?
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Nora Khaled
el 20 de Nov. de 2020
Comentada: Mathieu NOE
el 20 de Nov. de 2020
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 comentarios
Respuesta aceptada
Nora Khaled
el 20 de Nov. de 2020
3 comentarios
Peter Perkins
el 20 de Nov. de 2020
Also, KSSV's recommendation to use readtable instead of xlsread is still worth heeding.
Mathieu NOE
el 20 de Nov. de 2020
yes sure
it's because I'm older and I'm always using "old" functions , but I'm improving lately on new stuff
Más respuestas (0)
Ver también
Categorías
Más información sobre Spreadsheets en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!