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
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