Thanks Vladimir,

I am actually not getting as far as the invert step, with the error arising at the Forward Model step. I specify BEM but it will not process the request. Here is what appears in the Command Window:


reordering the boundaries to: 1 2 3
Error using horzcat
Dimensions of matrices being concatenated are not consistent.

Error in triangle4pt (line 58)
    sph_pnt = pnt([tri(jj,:) lv],:);

Error in ft_headmodel_bemcp (line 102)
vol = triangle4pt(vol);

Error in ft_prepare_headmodel (line 206)
      vol = ft_headmodel_bemcp(geometry,'conductivity',cfg.conductivity);

Error in spm_eeg_inv_forward (line 83)
                vol = ft_prepare_headmodel(cfg, vol);

Error in spm_eeg_inv_forward_ui (line 42)
D = spm_eeg_inv_forward(D);

Error in spm_eeg_inv_imag_api>Forward_Callback (line 87)
handles.D = spm_eeg_inv_forward_ui(handles.D);

Error in spm_eeg_inv_imag_api (line 53)
        feval(varargin{:}); % FEVAL switchyard
 
Error while evaluating uicontrol Callback


>>

Hopefully this will give you some info as to what I'm doing wrong.
Thanks,

Gemma.

Miss Gemma E. Barnacle
PhD Student
School of Psychology
Room 119, Zochonis Building
University of Manchester
M13 9PL.

From: SPM (Statistical Parametric Mapping) [[log in to unmask]] on behalf of Vladimir Litvak [[log in to unmask]]
Sent: 28 August 2013 13:23
To: [log in to unmask]
Subject: Re: [SPM] source localisation error

Dear Gemma,

Could you use the GUI and send everything that is printed in the command window from the point when you pressed the 'invert' button?

Thanks,

Vladimir


On Wed, Aug 28, 2013 at 1:11 PM, Gemma Barnacle <[log in to unmask]> wrote:
Dear Experts,

I have followed the instructions from the SPM training day earlier this year to complete source reconstruction on my EEG data. I have tried using the GUI and the batch function but both are not working for me. The common error I seem to get is:

Error using horzcat
Dimensions of matrices being concatenated are not consistent.


Please could anyone tell me what this refers to? And how to correct this error?

Many thanks in advance,
Gemma.

Miss Gemma E. Barnacle
PhD Student
School of Psychology
Room 119, Zochonis Building
University of Manchester
M13 9PL.