[Eeglablist] Error using dipfit

Jenson, David Evans david.jenson at wsu.edu
Thu Jun 5 16:32:17 PDT 2025


eeglablist,

I am experiencing an error with dipole localization in EEGLAB and have been unable to get past it.  EEGLAB was running fine on my old machine, but our department just upgraded to new machines, and I am experiencing errors that I can’t seem to get past.

I am using Matlab R2024b and EEGLAB v2024.2.1 on a MacBook Pro running macOS 15.5 (I’ve also tried EEGLAB v2025.0.0 and am still having the same issue).  After running ICA and co-registering channels, I have tried running “Source localization using DIPFIT -> component dipole autofit.”

When I do this, I get the following error message:

“EEGLAB error in function ft_defaults() in line 201:
Unrecognized function or variable ‘ft_warning’.
This is a problem with FIELDTRIP.  The Fieldtrip version you downloaded is corrupted.  Please manually replace Fieldtrip with an earlier version and/or email the Fieldtrip developers so they can fix the issue.”

I have looked through the code for ‘ft_defaults()’ and see the call to ‘ft_warning’ but am unsure why it wouldn’t be working.  I am getting this error message when using “Fieldtrip-lite v20240111” as a plug-in.  However, I have also tried removing the plugin and adding “fieldtrip-20250523” to the Matlab path and am still getting the same error.  I have deleted and reinstalled different versions of the FieldTrip toolbox multiple times and reset the Matlab path.  I am unsure how best to proceed.

I have reached out to the FieldTrip developers, but am hoping that someone here might have experienced this and knows how to get past it.

Thanks,

-Dave Jenson


More information about the eeglablist mailing list