[FieldTrip] 'ft_prepare_layout' Error
Mushfa Yousuf
mushfa.yousuf at googlemail.com
Fri Jul 19 12:34:37 CEST 2013
hello ;
or it has something to do with layout ?
because this msg appears after this line
*creating layout for neuromag306 system*
*
*
??? 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,
cfg.style);
Error in ==> spm_eeg_project3D at 27
lay = ft_prepare_layout(cfg);
Regards;
Mushfa Yousuf
On Fri, Jul 19, 2013 at 11:40 AM, Mushfa Yousuf <
mushfa.yousuf at googlemail.com> wrote:
> Hello ;
>
> 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,
> cfg.style);
>
> 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.
>
>
> Regards;
>
> Mushfa Yousuf
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20130719/f9957b0e/attachment-0002.html>
More information about the fieldtrip
mailing list