Without knowing much about Paul's code, I would guess that you entered
multiple images where only one image is expected, since in this line, V
should only contain one image handle and not a vector/array of handles.
Volkmar
On Fri, 10 Aug 2007, William Cunningham wrote:
> Hello,
> I am trying to use the detrending script posted by Paul Macey, and have
> having trouble. I am trying to detrend a single session of .nii data in
> SPM5. Any help would be appreciated.
> Best,
> Wil
>
> The error that I am getting is the following:
> ===========================================================
> ??? Field reference for multiple structure elements that is followed by
> reference blocks is an error.
>
> Error in ==> cspm_lmgs>detrend_onesession at 259
> V.pinfo(1:2,:) = V.pinfo(1,2,:)*scale
>
> Error in ==> cspm_lmgs at 113
> detrend_onesession(Pall
> {i},overwrite.prefix,display,GM,i,num_sessions)
> ===========================================================
>
--
Volkmar Glauche
-
Department of Neurology [log in to unmask]
Universitaetsklinikum Freiburg Phone 49(0)761-270-5331
Breisacher Str. 64 Fax 49(0)761-270-5416
79106 Freiburg http://fbi.uniklinik-freiburg.de/
|