why textscan did not work ?
이전 댓글 표시
hi, I have file as:
1488844,3,2005-09-06
822109,5,2005-05-13
885013,4,2005-10-19
I used textscan to get each column alone then I can deal with date to convert it , but no give what I need. thanks
댓글 수: 1
Fangjun Jiang
2011년 11월 3일
You've been here long enough to learn to use the {}Code format.
답변 (1개)
Walter Roberson
2011년 11월 3일
textscan(fid, '%f%f%s', 'Delimiter', ',')
댓글 수: 3
huda nawaf
2011년 11월 3일
huda nawaf
2011년 11월 3일
Walter Roberson
2011년 11월 3일
datenum(c{3},'yyyy-mm-dd')
카테고리
도움말 센터 및 File Exchange에서 Dates and Time에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!