Does not properly read csv file
이전 댓글 표시
I try to read the attached csv file using readtable. But the data does not seem to be read. What can be done?
채택된 답변
추가 답변 (1개)
Thomas Jensen
2021년 4월 14일
0 개 추천
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.
카테고리
도움말 센터 및 File Exchange에서 Text Files에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!