Respuesta aceptada

Walter Roberson
Walter Roberson el 14 de Abr. de 2021

0 votos

readcell() instead of readtable(). Your file mixes data types.

Más respuestas (1)

Thomas Jensen
Thomas Jensen el 14 de Abr. de 2021

0 votos

Hi,
Try to use readtable('test.csv','Format','%s,%s'). It will force the data to be treated as text.
Since you columns are mixing number and date values, it is better to keep it as char and post-process it later.

1 comentario

alpedhuez
alpedhuez el 14 de Abr. de 2021
Error using readtable (line 245)
Unable to read the entire file. You may need to specify a different format, delimiter, or number of header lines.
Note: readtable detected the following parameters:
'Delimiter', ',', 'HeaderLines', 0, 'ReadVariableNames', true

Iniciar sesión para comentar.

Productos

Etiquetas

Preguntada:

el 14 de Abr. de 2021

Respondida:

el 14 de Abr. de 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by