Dear Nela,
Might it be that you first prepared the head model and then marked
some channels as bad? In that case try deleting the source
reconstruction and starting again with the 'Template' button.
Best,
Vladimir
On Tue, Apr 26, 2011 at 11:46 PM, Nela Cicmil <[log in to unmask]> wrote:
> Dear SPMers,
>
> I wonder if anyone could point out what might be going wrong to cause the following error message during Forward Model processing in spm8 for M/EEG:
>
> ??? Subscripted assignment dimension mismatch.
>
> Error in ==> channelposition at 147
> lab(i,:) = sens.label(sel)';
>
> Error in ==> ft_headmodelplot at 205
> [chan.pnt, chan.label] = channelposition(sens);
>
> Error in ==> spm_eeg_inv_checkforward at 74
> ft_headmodelplot(cfg);
>
> Error in ==> spm_eeg_inv_forward_ui at 44
> spm_eeg_inv_checkforward(D, val);
>
> Error in ==> spm_eeg_inv_imag_api>Forward_Callback at 87
> handles.D = spm_eeg_inv_forward_ui(handles.D);
>
> Error in ==> spm_eeg_inv_imag_api at 53
> feval(varargin{:}); % FEVAL switchyard
>
> ??? Error while evaluating uicontrol Callback
>
>
> I am performing a source localization analysis on a single subject using MEG data only from the Electa Neuromag scanner system, running spm8 (with r4290 updates) on matlab r2009a on mac 10.5.8. The data in question is epoched, has been grand-averaged, and contains fiducials. I specified the MRI individual head mesh using the subject's structural scan and co-registered using nasion, lpa & rpa: all of these steps ran without error and the resultant displays of brain, sensors, etc looked fine when I checked them.
>
> I originally tried forward model with the single shell head model, but it fails with the same error (above) regardless of which head model I use. The same error also occurs if I use the 'Template' instead of subject's own MRI.
>
> So, I was just wondering if someone could help tell me what this error means and if it is something that I must go back to fix in the analysis process? There might be some obvious error but I can't work out what it is.
>
> Many thanks for your help!
> Nela
>
> ----
> Nela Cicmil
> D.Phil Candidate, Neurophysiology
> Dept. Physiology, Anatomy & Genetics
> University of Oxford
>
>
|