Dear El¿bieta,
There was a bug like that but it was fixed about a year ago. See:
https://www.jiscmail.ac.uk/cgi-bin/wa.exe?A2=SPM;fmQtUw;20090430181242%2B0100
You can try the solution proposed there, but if it works that'd mean
that your SPM is not up-to-date.
Best,
Vladimir
2010/3/19 Vladimir Litvak <[log in to unmask]>:
> Dear El¿bieta,
>
> Do you use the template or your subject's own MRI? Also are you using
> the latest SPM8 release?
>
> Vladimir
>
> 2010/3/19 El¿bieta Olejarczy <[log in to unmask]>:
>> Dear Vladimir,
>>
>>
>>
>> I have tried to perform source recontruction using my EEG data, but I have
>> obtained some error messages.
>>
>> Could you help me to explain why it does not not work?
>>
>>
>>
>> Best regards,
>>
>> Elzbieta Olejarczyk
>>
>>
>>
>>
>>
>> Error messages:
>>
>> -----------------------------------------------------------
>>
>> using the pre-specified triangulated boundaries
>>
>> determining source compartment (1)
>>
>> determining skin compartment (3)
>>
>> not using the isolated source approach
>>
>> ??? Index exceeds matrix dimensions.
>>
>>
>>
>> Error in ==> fieldtrip\private\fitsphere at 64
>>
>> C = -0.5*pvec(2:4) / pvec(1);
>>
>>
>>
>> Error in ==> fieldtrip\private\triangle4pt at 62
>>
>> [center,radius] = fitsphere(sph_pnt);
>>
>>
>>
>> Error in ==> fieldtrip\private\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 using ==>
>> spm_eeg_inv_imag_api('Forward_Callback',gcbo,[],guidata(gcbo))
>>
>> Index exceeds matrix dimensions.
>>
>>
>>
>> ??? Error while evaluating uicontrol Callback
>>
>>
>>
>>>>
>
|