readtimetable does not read the entire Excel file
Mostrar comentarios más antiguos
I have several Excel files with date and time and then some ten columns. The number of lines is 9000.
When I read them with readtimetable, I get them correct in six cases. The other four get cut at line 2881, 4345, 745 and 745 respectively. The first problematic one had dashes instead of the values in a column from the point that it did not work. I put 0 there and still it does not work.
What more can I try?
7 comentarios
Mathieu NOE
el 17 de Nov. de 2023
hi
can you share an extract of the excel files that cause the issue ?
Per Westerlund
el 17 de Nov. de 2023
Per Westerlund
el 17 de Nov. de 2023
Cris LaPierre
el 17 de Nov. de 2023
Editada: Cris LaPierre
el 17 de Nov. de 2023
I don't see dashes or zeros in the last 4 columns of this file. You can share a larger file than this. Perhaps one with at least the first 3000 rows? At least something that will demonstrate the same errors you are getting. That allows us to test it out. Consider sharing the code you are using to read in the files as well.
data = readtable('Svk_2017_del.xlsx','NumHeaderLines',6)
Per Westerlund
el 17 de Nov. de 2023
Editada: Cris LaPierre
el 17 de Nov. de 2023
Cris LaPierre
el 17 de Nov. de 2023
I don't see any issues importing this file either. Do you?
Per Westerlund
el 17 de Nov. de 2023
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Spreadsheets en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!