[Eeglablist] Problem with eegfiltnew

Chesney Craig C.Craig at mmu.ac.uk
Thu Jan 31 05:58:07 PST 2019

Dear all,

I am having an issue with the eegfiltnew function, which consistently returns an error. We implement a high and low pass filter using the following code:

filtorder = 1650;
hp_filter = 1.0;
lp_filter = 45.0;

EEG = pop_eegfiltnew (EEG, hp_filter, [], filtorder, 0, [], 0);
EEG = pop_eegfiltnew (EEG, [], lp_filter, filtorder, 0, [], 0);

It works fine for the other members of my team but in my EEGLAB, I get the following error:

               Operands to the || and && operators must be convertible to logical scalar values.

               Error in pop_eegfiltnew (line 275)
               If g.minphase || g.usefftfilt

I also regularly have a pop-up error appear when I open an EEGLAB dataset that says

"Expected input to be one of these types:
Instead its type was cell.

Has anyone else experienced these errors? I'm using Matlab R2016b and have the latest version of EEGLAB installed, so I'm not sure what is causing it.

Thanks in advance.


Dr Chesney Craig PhD
Research Associate
Department of Exercise and Sport Science
Manchester Metropolitan University

"Before acting on this email or opening any attachments you should read the Manchester Metropolitan University email disclaimer available on its website http://www.mmu.ac.uk/emaildisclaimer "
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20190131/5cf6a2c9/attachment-0001.html>

More information about the eeglablist mailing list