How can I read .edf.event file since I have corresponded .edf file in MATLAB?

9 views (last 30 days)
In order to read the .edf files, I need a function to do that which available in MATHWORKS (edfread(path)). But I across with a new type of file named as a .edf.event file which gives information about the corresponded .edf file. But the problem is how can I read it?

Answers (1)

ehsan rastgar
ehsan rastgar on 16 Sep 2018
Hi dear ibrahim guler I had this problem and wrote my own code and use edfread I upload my code here and Hope to help you # how use it % example :
[filename,pathname] = uigetfile({'*.*';'*.edf'},'Pick edf File');
[hdr, record] = edfread([pathname,filename]);
[Task_label,Time_duration,Task_sym,strArray] =Eventread(pathname,filename);
  4 Comments
ehsan rastgar
ehsan rastgar on 21 Sep 2018
for using this code you should have both files of *.edf and *.edf.event in same direction and same name/ and just select *.edf file/
Fernando.Xicot
Fernando.Xicot on 9 Dec 2020
Hello dear Ehsan, i have a problem with the eventread function.
Undefined function or variable 'Eventread'.
Error in event_read (line 7)
[Task_label,Time_duration,Task_sym,strArray] = Eventread(pathname,filename);
It seems that i vahe no function called eventread. Do you know why is this?

Sign in to comment.

Categories

Find more on EEG/MEG/ECoG in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!