[FieldTrip] Error in ft_dipolefitting.m ?

François Tadel francois.tadel at mcgill.ca
Wed Dec 2 22:03:33 CET 2015


Hello,

When fitting single dipoles on multiple time points at once, I have an 
error line 578:
     source.dip.unit = headmodel.unit;
The syntax is incorrect that source.dip is an array with multiple 
dipoles. Should this be replaced with the following line ?
     [source.dip.unit] = deal(headmodel.unit);

Cheers,
Francois



More information about the fieldtrip mailing list