Hello there,
Would anybody know the correct syntax to import a column of time values from a text file using the textscan() function. The format of the time values is like this:
12:57:00 15:19:00 08:07:00 10:36:00
Many thanks
No products are associated with this question.
Hi,
try %s as format string
out = textscan(fid,'%s')
(fid is the filepointer created by fopen)
No Problem. Thats what this platform is for :)
fid = fopen('time.txt','r')
out = textscan(fid,'%s')
fclose(fid)
out{1}
0 Comments