Bandpss filter error

hello! After I updated my brainstorm version, I got the following error when using the bandpass filter, I don't know why? Thank you

Hi @hyb

Can you open the file fir1.m?

or type "which('fir1.m')"
and copy past the output here.

This function should be part of the signal processing Matlab toolbox,
however, from the error, it seems you have an other function with the same name in your path.

I typed "which('fir1.m')", and the output is:
D:\Drivers\MATLAB\toolbox\fieldtrip-20230613\external\signal\fir1.m

yup, you are calling a fieldtrip function, and not the correct one.
you need to remove the field trip from your matlab path.

Ok, very grateful, I will try :smiley:.

I have removed the fieldtrip from matlab path, and the problem has been solved, thank you very much :smile:.

:sunglasses: