[FieldTrip] 'ft_prepare_layout' Error
mushfa.yousuf at googlemail.com
Fri Jul 19 11:40:01 CEST 2013
I am receiving the following error while using ft_prepare_layout
??? Index exceeds matrix dimensions.
Error in ==> ft_prepare_layout>sens2lay at 788
mindist = mindist(1:round(numel(label)/4));
Error in ==> ft_prepare_layout at 285
lay = sens2lay(cfg.grad, cfg.rotate, cfg.projection,
Error in ==> spm_eeg_project3D at 27
lay = ft_prepare_layout(cfg);
Notice that I am using MEG channels and the above function perfectly works
when I used the EEG channel.
For me itt seems like there is any problem with my '.grad' structure ?
Kindly please help me to toubleshoot this problem.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fieldtrip