Dear Amir,
It's a problem with reading the data from your data file which is not
necessarily SPM problem but might have something to do with your
system (e.g. pesmissions or the directory you are in). I suggest that
you ask Guillaume to help you on site.
Best,
Vladimir
On Thu, Dec 10, 2009 at 5:09 PM, Amir H Javadi <[log in to unmask]> wrote:
> Hi :-)
> I receive the following error message in "Invert" process in EEG 3D Source
> Reconstruction.
>
> ??? Cant open file.
>
> Error in ==> file_array.subsref>multifile2mat at 156
> val(cc(i)+1:cc(i+1)) = file2mat(obj,int32(1),int32(x(y==i)));
>
> Error in ==> file_array.subsref>subfun at 87
> t = multifile2mat(sobj,varargin{:});
>
> Error in ==> file_array.subsref at 60
> t = subfun(sobj,args{:});
>
> Error in ==> meeg.subsref at 21
> varargout = {double(subsref(this.data.y, subs))};
>
> Error in ==> spm_eeg_invert at 295
> Yk = R{i}*squeeze(D{i}(Ic{i},It{i},c(k)));
>
> Error in ==> spm_eeg_invert_ui at 95
> D = spm_eeg_invert(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 using ==>
> spm_eeg_inv_imag_api('Inverse_Callback',gcbo,[],guidata(gcbo))
> Cant open file.
>
> ??? Error while evaluating uicontrol Callback
>
>>>
>
> I follow the steps instructed in the SPM 8 Manual November 10th. My file is
> an epoched EEG data from 48 electrodes running under Mac OS X. I did the
> following steps
>
> Load file
> Selecting "Template", rather than "MRI"
> "Co-register" with default settings.
> "Forward Model" with "EEG BEM" settings.
> "Invert" with "Imaging" then, "YES" for "All conditions or trials?"
> question, and "Standard" for "Model" question. Then, it completes the
> "Computing EEG Leadfields" process and "Orienting EEG Leadfields" process
> and after a couple of seconds it gives me the above error message.
>
> It seems that it updates the file "SPMgainmatrix_xxx_1.mat". Afterwards, it
> doesn't give me any further option in "SPM8: EEG/MEG Source Localisation"
> window. Thanks.
> Have a good time,
> Amir
>
>
|