Dear SPM-experts,
when trying to co-register our preprocessed EEG-files with individual MRI-images for 3D Source Reconstruction using SPM12b the error-message below is always displayed.
Bizarelly, there is not any error when using SPM8, it's working absolutely fine then.
We already tested with different Matlab-Versions (2013b and 2011b) and different ways of preprocessing the EEG-file.
Although it works fine with SPM8 we would prefer to use SPM12, because it provides more batching/scripting options (e.g. marking the bad channels).
Precisely described, the error occurs after loading the EEG-file, loading the MRI-image, pressing co-register, marking the three Fiducials and answering the question whether to use headshape points or not (answering yes as well as no).
Error using svd
Input to SVD must not contain NaN or Inf.
Error in spm_eeg_inv_rigidreg (line 19)
[U,A,V] = svd(S'*M);
Error in spm_eeg_inv_datareg (line 68)
M1 = spm_eeg_inv_rigidreg(targetfid.fid.pnt', sourcefid.fid.pnt');
Error in spm_eeg_inv_datareg_ui (line 154)
M1 = spm_eeg_inv_datareg(S);
Error in spm_eeg_inv_imag_api>DataReg_Callback (line 80)
handles.D = spm_eeg_inv_datareg_ui(handles.D);
Error in spm_eeg_inv_imag_api (line 53)
feval(varargin{:}); % FEVAL switchyard
Error while evaluating uicontrol Callback
Any help would be highly appreciated. Thanks in advance!
Best regards,
Felix Nettersheim
|