Add events from file error


I have added events from file many many times, but now it is giving the error:

** Error: Line 41: Index exceeds the number of array elements (1).
** Call stack:
** >in_events_video.m at 41
** >import_events.m at 159
** >import_events.m at 83
** >panel_record.m>ImportEvents at 2535
** >bst_call.m at 28
** >panel_record.m>@(h,ev)bst_call(@ImportEvents) at 140

I have simply exported selected events and tried re-importing them through this option and it gives the same error.

Here is the exported txt file:

subject1.txt (499 Bytes)

Here is a link to the sample data:

Thank you,


Neuroscience Research Center
Cook Children's Medical Center, Fort Worth, TX

Hi Kathryn,

Try to import the event file setting the Files of Type field to CSV text file: label, time, duration (.txt;.csv)


From the error shared stack, it seems the type CTF Video ... was selected.



Thank you so much! I did not realize it was importing as a different file type.