From: astro mmi on
Hi everyone,
I am trying to read an ecg.dat file into MATLAB. I have copied the .dll and .mfile suggested in the website from where I got the database. The following error appears on my matlab window. Pls help. Thanx in advance.

ec=rdsign212('ecg1.dat',2,1,1000)
??? Invalid MEX-file 'C:\Users\madhumitha\Documents\MATLAB\rdsign212.dll':
C:\Users\madhumitha\Documents\MATLAB\rdsign212.dll is not a valid Win32 application.

Pls let me know if there are any other alternatives for loading this .dat file
From: Ravi Chilumula on
is this your working folder?
C:\Users\madhumitha\Documents\MATLAB\

iam assuming this is a directory path related issue....are the .dat file and .dll, .m all in same folder and on matlab path (or current working directory?)

"astro mmi" <pyarsa_madhu(a)yahoo.co.in> wrote in message <hket1k$sil$1(a)fred.mathworks.com>...
> Hi everyone,
> I am trying to read an ecg.dat file into MATLAB. I have copied the .dll and .mfile suggested in the website from where I got the database. The following error appears on my matlab window. Pls help. Thanx in advance.
>
> ec=rdsign212('ecg1.dat',2,1,1000)
> ??? Invalid MEX-file 'C:\Users\madhumitha\Documents\MATLAB\rdsign212.dll':
> C:\Users\madhumitha\Documents\MATLAB\rdsign212.dll is not a valid Win32 application.
>
> Pls let me know if there are any other alternatives for loading this .dat file
From: astro mmi on
Yes, they are all in the same working directory

"Ravi Chilumula" <ravi.chilumula(a)gmail.com> wrote in message <hkev1d$964$1(a)fred.mathworks.com>...
> is this your working folder?
> C:\Users\madhumitha\Documents\MATLAB\
>
> iam assuming this is a directory path related issue....are the .dat file and .dll, .m all in same folder and on matlab path (or current working directory?)
>
> "astro mmi" <pyarsa_madhu(a)yahoo.co.in> wrote in message <hket1k$sil$1(a)fred.mathworks.com>...
> > Hi everyone,
> > I am trying to read an ecg.dat file into MATLAB. I have copied the .dll and .mfile suggested in the website from where I got the database. The following error appears on my matlab window. Pls help. Thanx in advance.
> >
> > ec=rdsign212('ecg1.dat',2,1,1000)
> > ??? Invalid MEX-file 'C:\Users\madhumitha\Documents\MATLAB\rdsign212.dll':
> > C:\Users\madhumitha\Documents\MATLAB\rdsign212.dll is not a valid Win32 application.
> >
> > Pls let me know if there are any other alternatives for loading this .dat file
 | 
Pages: 1
Prev: import text file in cell
Next: Tracking