EMGLAB FORUM

EMGLAB FORUM >LOAD dat FORMAT FILE

  Subject:   LOAD dat FORMAT FILE
 
From:   JOSIP MIHOVILOVIC Date:   15 Apr 2008 8:17 am  
Reply via e-mail to JOSIP MIHOVILOVIC.  
  I try to load EMG signal that is in .dat format ... I have followed your indication from this discussion (from forum):

Note 2. You can also convert your signal to a binary file like this:

fid = fopen ('myfile.dat','w');
fwrite (fid, mysignal, 'int16');
fclose (fid);

where "mysignal" is the name of your signal. It should be scaled so that the conversion to int16 does not degrade the information.

You should be able to load the .dat file using the "Load EMG file" command from the File Menu. If it doesn't look right, make sure you specify the byte ordering and sampling rate correctly in the EMG file format dialog box.


BUT WHEN I TRY TO LOAD NOTHING APPARE

BestRegards Josip
  >> Reply to this message  

  Subject:   Re: LOAD dat FORMAT FILE
 
From:   understand phạm Date:   27 Mar 2013 8:00 am  
Reply via e-mail to understand phạm.  
  JOSIP MIHOVILOVIC wrote:
>I try to load EMG signal that is in .dat format ... I have followed your indication from this discussion (from forum):
>
>Note 2. You can also convert your signal to a binary file like this:
>
>fid = fopen ('myfile.dat','w');
>fwrite (fid, mysignal, 'int16');
>fclose (fid);
>
>where "mysignal" is the name of your signal. It should be scaled so that the conversion to int16 does not degrade the information.
>
>You should be able to load the .dat file using the "Load EMG file" command from the File Menu. If it doesn't look right, make sure you specify the byte ordering and sampling rate correctly in the EMG file format dialog box.
>
>
>BUT WHEN I TRY TO LOAD NOTHING APPARE
>
>BestRegards Josip
  >> Reply to this message  

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