Dear SPM list,
I tried to create an anatomical ROI at functional resolution. First I
used the Anatomy Toolbox to create the ROI mask. Unfortunately, the
Anatomy Toolbox does not allow you to specify the output space of the
resulting image.
So I tried to resample the image to functional resolution using MarsBar
but for some reason, it does not want to load the roi.mat file.
See below for error message
Any ideas how to solve this?
Thanks!
Michael
-----------------
SPM2
Matlab R2006b
Windows XP
-----------------
Warning: Loading file
D:\Michael\masks\AIP\anatomy_toolbox\ROI_hAIP_MNI_roi.mat
did not return an ROI
> In @maroi\private\my_loadroi at 21
In maroi.maroi at 126
In marsbar at 670
In marsbar at 1800
In marsbar at 507
In spm at 1276
ans =
"
C
:
\
P
r
o
g
r
a
m
F
i
l
e
s
\
M
a
t
l
a
b
\
R
2
0
0
6
b
\
t
o
o
l
b
o
x
\
s
p
m
2
_
m
b
\
t
o
o
l
b
o
x
\
m
a
r
s
b
a
r
\
s
p
m
5
;
"
n
o
t
f
o
u
n
d
i
n
p
a
t
h
.
??? Undefined function or method 'has_space' for input
arguments of type 'double'.
Error in ==> marsbar at 675
if has_space(roi)
Error in ==> marsbar at 1800
marsbar(optfields{my_task}{:});
Error in ==> marsbar at 507
marsbar('mars_menu', 'Export ROI(s)', 'Export ROI(s)
to:',...
Error in ==> spm at 1276
evalin('base',CBs{v-1})
??? Error using ==> spm('PopUpCB',gcbo)
Undefined function or method 'has_space' for input arguments
of type 'double'.
??? Error while evaluating uicontrol Callback
|