That part of the code has been deprecated in the latest version (not
yet available outside FIL). Since you are at the ICN as I remember,
you can get the latest version from FIL SVN. Now you don't need to use
the Artefact button to do robust averaging. This functionality is
completely within the averaging function. Also the code is largely
different so I hope the problem will not appear. Just don't use the
files that have been output by the old Artefact function for the new
averaging because then the old averaging function will be called for
backward compatibility. Let me know if you still get an error or
can't get access to the latest SPM8.
On Sun, Jul 26, 2009 at 7:02 PM, Amir H Javadi<[log in to unmask]> wrote:
> Hello everyone
> I receive the following error message while averaging data. The data which I
> want to average is prepared as following
> EEG data is collected using BioSemi, 64 channels, 512 sample/second
> Recorded data is then "converted"
> Then "down-sampled" to 100 samples/second
> "filtered" using "band-pass filter", within frequency band [0.5 30]
> "epoched" into two conditions, 160 trials in each condition
> "Montaged" and "other" channels are also kept.
> "artifact" reduction using "robust averaging"
> SPM8: spm_eeg_average (v2882) 03:54:27 - 26/07/2009
> ??? Error using ==> reshape
> To RESHAPE the number of elements must not change.
> Error in ==> spm_eeg_average at 92
> tempwf = reshape(tempwf, D.nsamples, length(ind));
> ??? Error while evaluating uicontrol Callback
> Have a good time,