Unable to read data from my excel file
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Prajwal Venkatesh
el 19 de En. de 2020
Comentada: Walter Roberson
el 19 de En. de 2020
for i=1:nfiles
datafi{i} = readtable(fullfile(testfiledir, matfiles(i).name));
end
I am reading certain excel files in my folder and certain files are read and certain files no information is read.
I get a blank table for certain excel files.
below picture shows the data that has been read from the excel file, while in the actual excel file there is a lot more information![Screenshot (293).png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/262420/Screenshot%20(293).png)
![Screenshot (293).png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/262420/Screenshot%20(293).png)
![Screenshot (292).png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/262421/Screenshot%20(292).png)
3 comentarios
Walter Roberson
el 19 de En. de 2020
I suggest adding import options to force the expected headers and columns.
Respuesta aceptada
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!