Have you also updated the Anatomy Toolbox?
In se_createROI.m there is a switch statement (line 29)
switch st.SPM;
case {'SPM5','SPM8'}
maybe your version does not support SPM8
Michael.
Brianna Schuyler schrieb:
> Hi All,
>
> I have been using the lovely Anatomy Toolbox in SPM8 to look at my data
> and it has been working well, but when I try to use the "Create
> Anatomical ROIs" function, I encounter an error.
>
> I can click a button for a particular ROI, press Calculate, label the
> ROI file name, and choose the output space (Anatomical or MNI.)
> However, then I get the error:
>
> ??? Error using ==> spm_create_vol>create_vol at 32
> "dim" field is the wrong size (1 4).
>
> Error in ==> spm_create_vol at 16
> v = create_vol(V(i));
>
> Error in ==> se_createROI at 114
> Vo = spm_create_vol(Vo);
>
> ??? Error while evaluating uicontrol Callback
>
> From reading the mailing list archives I understand that this error is
> because the structure of spm_vol has changed, and the spm_create_vol
> function is expecting the former structure. Is there a way I can
> correct this? I have downloaded the most recent updates to SPM8, but my
> spm_create_vol.m file appears to have not been updated since 2008-02-26.
>
> I'm attaching a screen shot (where I am trying to get a left amygdala
> ROI) in case it helps.
>
> Thanks very much!
> Brianna Schuyler
> ------------------------------------------------------------------------
>
--
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Dr. Michael Erb
Sektion f. experimentelle Kernspinresonanz des ZNS
Abteilung Neuroradiologie, Universitaetsklinikum
Hoppe-Seyler_Str. 3, D-72076 Tuebingen
Tel.: +49(0)7071/2987753 priv. +49(0)7071/61559
Fax.: +49(0)7071/294371
e-mail: <[log in to unmask]>
www: http://www.medizin.uni-tuebingen.de/nrad/sektion/
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
|