Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!news1.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!news.glorb.com!news2.glorb.com!tr22g12.aset.psu.edu!news.mathforum.org!not-for-mail
From: AMK <kennaster@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to import timestamp (5:48:05 ) to a format ML can handle
Date: Tue, 06 Oct 2009 18:39:12 EDT
Organization: The Math Forum
Lines: 10
Message-ID: <655747749.23145.1254868782259.JavaMail.root@gallium.mathforum.org>
References: <1213675765.22507.1254859042177.JavaMail.root@gallium.mathforum.org>
NNTP-Posting-Host: gallium.mathforum.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: support1.mathforum.org 1254868782 26999 144.118.94.39 (6 Oct 2009 22:39:42 GMT)
X-Complaints-To: news@news.mathforum.org
NNTP-Posting-Date: Tue, 6 Oct 2009 22:39:42 +0000 (UTC)
Xref: news.mathworks.com comp.soft-sys.matlab:575469


This:

[code]
for n = 1:length(fnames)    %Start the for loop for the file names
  ch4_dt(n,:) = dlmread(fnames(n).name, '\t', datenum([dr1 dc1 dr2 dc2]))'; %Read in the data
  %timestamp(n,:) = dlmread(fnames(n).name, ';', [tr1 tc1 tr2 tc2])';    %Read in the timestamps
end %End the loop
[/code]

only gets me a 5, which is the first value in the timestamp shown in the original problem.