EMGLAB FORUM

EMGLAB FORUM >loading .dat format

  Subject:   loading .dat format
 
From:   emon bora Date:   15 Sep 2009 9:56 pm  
 
  I want to know how the .dat format files can be opened and what is the procedure to use the .dat file in MATLAB....I have got the emg signal from EMGLAB but I couldn't access the whole data as the format is in .dat file .so I request to help me please ...............................................


thanx................
  >> Reply to this message  

  Subject:   Re: loading .dat format
 
From:   Date:   22 Sep 2009 3:45 pm  
 
  Hi Emon,

You can load .dat files downloaded from the EMGlab signal database into Matlab using the getdata.m function. The function is available at www.emglab.net/utilities

Good luck,
Kevin



emon bora wrote:
>I want to know how the .dat format files can be opened and what is the procedure to use the .dat file in MATLAB....I have got the emg signal from EMGLAB but I couldn't access the whole data as the format is in .dat file .so I request to help me please ...............................................
>
>
>thanx................
  >> Reply to this message  

  Subject:   Re: Re: loading .dat format
 
From:   pooria Date:   15 Aug 2010 6:13 am  
Reply via e-mail to pooria.  
  Dear Kevin,

I did what you said but always I get this error:

??? Error using ==> fseek
Invalid file identifier. Use fopen to generate a valid file identifier.

Error in ==> read_generic at 61
fseek (fid, 0, 'eof');

Error in ==> getdata at 53
[chan, info, status] = feval (reader, 'open', emg_file);

what should I do?

thanks.


wrote:
>Hi Emon,
>
>You can load .dat files downloaded from the EMGlab signal database into Matlab using the getdata.m function. The function is available at www.emglab.net/utilities
>
>Good luck,
>Kevin
>
>
>
>emon bora wrote:
>>I want to know how the .dat format files can be opened and what is the procedure to use the .dat file in MATLAB....I have got the emg signal from EMGLAB but I couldn't access the whole data as the format is in .dat file .so I request to help me please ...............................................
>>
>>
>>thanx................
  >> Reply to this message  

sponsors:
Veterans Affairs Palo Alto Rehabilitation Research and Development Center
|
National Institute of Neurological Disorders and Stroke