header row causes issues in readtable
Ältere Kommentare anzeigen
Hello I am stumped
I have a pile of files like the attached. They are tab delimited even though they are .csv files.
If I remove the header I can use readtable just fine but I can't figure out how to import the data using readTable without manually deleating the header from each file...
The header and data has the same number of columns.
Otherwise I can't figure out a reasonable way to import them.
To be honest, I don't care about even having the right variable names but I can't work around it.
3 Kommentare
Mehmed Saad
am 12 Mai 2020
Have you tried
T= readtable('testfile.csv',...
'ReadVariableNames',false)
Budding MATLAB Jockey
am 13 Mai 2020
Star Strider
am 13 Mai 2020
Consider: spreadsheetImportOptions
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Spreadsheets finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!