BDF2BIOSIG_EVENTS converts BDF Status channel into BioSig Event codes. HDR = bdf2biosig_events(arg1) arg1 can be an HDR-struct containg HDR.EVENT.Desc or a struct containing EVENT.Desc or a cell-array Desc or a char-array Desc Warning: Approximately 32 (out of 510) events are currently not supported. For your data, you can check this with this command: HDR.EVENT.Desc(HDR.EVENT.TYP==0) see also: doc/eventcodes.txt