Some problems when I tried to run plv

Thank you for the full information.
The problem is that FieldTrip is in the Matlab path and it overrides Matlab's fir1 function.

Solution here: