Unable to read data from my excel file
Mostra commenti meno recenti
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.png)
.png)
3 Commenti
Walter Roberson
il 19 Gen 2020
readtable is not going to do a good job on that without import options that tell it how many header lines to skip.
Prajwal Venkatesh
il 19 Gen 2020
Walter Roberson
il 19 Gen 2020
I suggest adding import options to force the expected headers and columns.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Spreadsheets in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!