header row causes issues in readtable
이전 댓글 표시
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
Mehmed Saad
2020년 5월 12일
Have you tried
T= readtable('testfile.csv',...
'ReadVariableNames',false)
Budding MATLAB Jockey
2020년 5월 13일
Star Strider
2020년 5월 13일
Consider: spreadsheetImportOptions
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!