https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=SPM;fmQtUw;20090430181242%2B0100
On Fri, May 15, 2009 at 9:40 AM, Rodolphe <[log in to unmask]> wrote:
> Dear Spmers,
>
> i tried for the first time a source reconstruction with spm.
> I converted my neuroscan avg files to .mat files without any problems.
> Then i click on 3d source reconstr. button, i load one of my file, i chose
> the template, then coregistering, the results of the coregister seems to be
> good.
> But when i click on forward model and then i chose the BEM option Matlab
> just give me this error :
> ??? Index exceeds matrix dimensions.
>
> Error in ==> fitsphere at 64
> C = -0.5*pvec(2:4) / pvec(1);
>
> Error in ==> triangle4pt at 62
> [center,radius] = fitsphere(sph_pnt);
>
> Error in ==> prepare_bemmodel at 167
> vol = triangle4pt(vol);
>
> Error in ==> ft_prepare_bemmodel at 11
> [varargout{1:nargout}] = funhandle(varargin{:});
>
> Error in ==> spm_eeg_inv_forward at 77
> vol = ft_prepare_bemmodel(cfg, vol);
>
> Error in ==> spm_eeg_inv_forward_ui at 46
> D = spm_eeg_inv_forward(D);
>
> Error in ==> spm_eeg_inv_imag_api>Forward_Callback at 87
> handles.D = spm_eeg_inv_forward_ui(handles.D);
>
> Error in ==> spm_eeg_inv_imag_api at 53
> feval(varargin{:}); % FEVAL switchyard
>
> ??? Error while evaluating uicontrol Callback
>
> In the spm8 doc, it says that the matrix resulting from the foward
> computation is big, does the problem comes from there?
> Any helps would be appreciated.
> Thx
> Rodolphe.
>
|