Path: news.mathworks.com!not-for-mail
From: "Barry Williams" <barry.r.williamsnospam@saic.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: importing multiple .dat files
Date: Tue, 26 Mar 2013 14:23:10 +0000 (UTC)
Organization: SAIC
Lines: 26
Message-ID: <kisb0e$ips$1@newscl01ah.mathworks.com>
References: <gus6bt$reh$1@fred.mathworks.com> <1d23a395-4010-405b-b3e5-ca1115ab1a99@googlegroups.com>
Reply-To: "Barry Williams" <barry.r.williamsnospam@saic.com>
NNTP-Posting-Host: www-06-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1364307790 19260 172.30.248.38 (26 Mar 2013 14:23:10 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 26 Mar 2013 14:23:10 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 804417
Xref: news.mathworks.com comp.soft-sys.matlab:792032

mrichman@intehealth.com wrote in message <1d23a395-4010-405b-b3e5-ca1115ab1a99@googlegroups.com>...
> On Monday, May 18, 2009 1:37:01 PM UTC-4, Dominic  wrote:
> > I am trying to write a for loop which will allow me to import multiple .dat files of different sizes all from the same folder. 
> > 
> > Thus far I have written the code to import a single file, but when I try making the necessary changes to loop it I get all sorts of errors. 
> > 
> > Here is my code so far:
> > %load the dat file
> > [FileName, FilePath, FILTERINDEX] =uigetfile('C:\Dominic\PT40491\data\*.dat','Select a Holter file to read');
> > FileNamePath=strcat(FilePath,'\',FileName);
> > %load the ECG data
> > [sample V5 AP]=textread(FileNamePath,'%f%f%f');
> > ECG=AP;
> > clear V5 AP
> 
> --------------------------
> 
> Dominic,
>   I was just handed a Holter .dat file from a potential customer to see if we could process the file.  Do you know if there are any SDK's that could be used to read or convert the data for .NET?
> 
> Thanks!
> 
> Mike Richman (mrichman@intehealth.com)

BTW, note that Dominic hasn't posted at this newsgroup since 2009. The odds that he looks at the posts on anything like a regular basis are probably pretty slim. Rather than replying to a fairly generic post with a subject 'Importing multiple .dat files', which could be ignored if we see that there have already been multiple responses, you might have a better chance of getting someone who is familiar with your problem to respond if you added a new thread with a more specific subject, like 'Importing Holter monitor data files'.
Barry