Error while trying to import a .csv file. Why? <<Error using readtable (line 216)>> MATLAB
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I have this dataset in a csv file data.csv.
When I try to import it it gaves me an error.
data = readtable('data.csv', header = true);
Error using readtable (line 216)
Conversion to cell from char is not possible.
Note: readtable detected the following parameters:
'Delimiter', ',', 'HeaderLines', 0, 'ReadVariableNames', true, 'Format', ''
1 comentario
Sindar
el 30 de Abr. de 2020
Matlab uses name-value input passing, not keyword, and the name is 'HeaderLines':
data = readtable('data.csv', 'HeaderLines',1);
this may or may not fix the error
Respuestas (0)
Ver también
Categorías
Más información sobre Tables 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!