Dear all,
During my MEG source reconstruction I am having a problem when I try to "Invert", which is very irritating since it worked yesterday.
I have my file (which is a baseline-corrected, filtered, average file), and I am currently just using the MRI template. Everything seems to work fine until I get to the "Invert" step. Everything starts off O.K., but then towards the end it crashes and produces this error message:
??? Undefined function or method 'diag' for input arguments of type 'cell'.
Error in ==> spm_eeg_invert_fuse at 569
inverse.U = spm_cat(diag(U)); % spatial subspace
Error in ==> spm_eeg_invert_ui at 89
D = spm_eeg_invert_fuse(D);
Error in ==> spm_eeg_inv_imag_api>Inverse_Callback at 94
handles.D = spm_eeg_invert_ui(handles.D);
Error in ==> spm_eeg_inv_imag_api at 53
feval(varargin{:}); % FEVAL switchyard
??? Error while evaluating uicontrol Callback
I have tried everything I can think of, if anyone else has any ideas then I would be really glad of some help.
Thanks in advance,
Duncan
|