why textscan did not work ?
Ältere Kommentare anzeigen
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 Kommentar
Fangjun Jiang
am 3 Nov. 2011
You've been here long enough to learn to use the {}Code format.
Antworten (1)
Walter Roberson
am 3 Nov. 2011
textscan(fid, '%f%f%s', 'Delimiter', ',')
3 Kommentare
huda nawaf
am 3 Nov. 2011
huda nawaf
am 3 Nov. 2011
Walter Roberson
am 3 Nov. 2011
datenum(c{3},'yyyy-mm-dd')
Kategorien
Mehr zu Dates and Time finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!