sry for that, this bug has been fixed now and put into the updates.
> Hi all,
> In spm eeg, I performed all the preprocesses: Convert,
> Montage,Prepare, Epoch, Downsample, Filter, Artefacts, and Averaging.
> Then I was trying to analyze in sensor space and got the error message.
> Bad channels: C21
> 8 rejected trials: [5 76 133 139 202 280 322 593]
> mafdeMspm8_example.mat: Number of replications per contrast:
> average rare: 117 trials, average standard: 475 trials
> ??? Error using ==> griddata at 50
> X and Y must be same length as Z or the lengths
> of X and Y must match the size of Z.
> Error in ==> spm_eeg_convertmat2nifti3D at 117
> di(sub2ind([n n], x, y)) = griddata(Cel(:,1),
> Cel(:,2), double(d(:, j, l)),x,y, 'linear');
> Error in ==> spm_eeg_convert2images at 212
> Error in ==> spm at 875
> ??? Error while evaluating uicontrol Callback
> Jasmine Song
Dr. Stefan Kiebel
Wellcome Trust Centre for Neuroimaging
Institute of Neurology, UCL
12 Queen Square
London WC1N 3BG
Phone: (+44) 20 7833 7478
Fax: (+44) 20 7813 1420