can you explain in easy words, what is latency in eeg lab. If i have a sample size of 120 secs and i have 3 events. 40 secs of each. what is my latency then
The default EEGLAB unit for latency is seconds, so it would be your latency within your entire recording epoch (ex. 0, 40, 80 in your example). Are you trying to import your own custom event codes, or are you trying to export your event code files for additional analysis?
Perfect! You can do this manually through the GUI by going to File>Import Event Info>From MATLAB array or ASCII File and load a simple text file with the events in it. Or you can script it; I'll post my command line down below.