Dear Martin, The syntax of chantype is something like: D = chantype(D, 1:10, 'EEG'); I don't see where you expect 0/1 flags to be. Vladimir On Mon, Feb 14, 2011 at 9:30 AM, Martin Dietz <[log in to unmask]> wrote: > Dear Vladimir & list, > > I can successfully change the channel type using spm_eeg_prep. According to the manual chantype is able to do the same job. However chantype doesn't seem to allow any (0/1) flags ? > > Best wishes > Martin >