Example on how to use the Edf Converter

Contents

Converting the EDF File and saving it as a Matlab File

edf = Edf2Mat('eyedata.edf');
Trying to convert!
Processing Samples. Please wait ...
Samples successfully converted!
Trying to convert!
Processing Events. Please wait ...
Events successfully converted!
Edf succesfully converted, processed and values are saved in eyedata.mat!

The edf Variable now holds all information

lets display it:

disp(edf);
  Edf2Mat handle

  Properties:
             AUTHOR: 'Adrian Etter'
        AUTHOREMAIL: 'adrian.etter@econ.uzh.ch'
          COPYRIGHT: {2x1 cell}
            VERSION: 1
        VERSIONDATE: '2012/Aug/10'
          CHANGELOG: {2x2 cell}
           filename: 'eyedata.edf'
             Header: [1x1 struct]
            Samples: [1x1 struct]
             Events: [1x1 struct]
    samplesFilename: 'eyedata_samples.asc'
     eventsFilename: 'eyedata_events.asc'
        matFilename: 'eyedata.mat'


And how about just plot it?

plot(edf);

Of course you can also plot in your own style:

figure();
plot(edf.Samples.posX(end - 2000:end), edf.Samples.posY(end - 2000:end), 'o');