NaNs EEG = pop_loadbv('/System/Volumes/Data/data/matlab/bugs/ds003374/sub-03/ses-01/ieeg/', 'sub-03_ses-01_task-jokeit_run-01_ieeg.vhdr', [1 1044000], [1 2]); Zeros EEG = pop_biosig('/System/Volumes/Data/data/matlab/bugs/ds003374/sub-03/ses-01/ieeg/sub-03_ses-01_task-jokeit_run-01_ieeg.edf'); Run some test cases with these files. If you are reading this and you are up for it, let me know.