Dear SPMers,
I am trying to get the con.img from different contrasts using the function
spm_contrasts(spm, i) while i represents the index of contrast that I am
interested. However, it kept on giving me this error message.
contrast image 1 : (spm_add) ...computing??? Error using
==> spm_add
Cant open image file.
Error in ==> spm_contrasts at 117
xCon(ic).Vcon.pinfo(1,1) = spm_add(V,xCon(ic).Vcon);
On the other hand, when I used the GUI to get results of the contrast, it worked
perfectly. After that, the function spm_contrasts worked perfectly too to other
contrasts. I am wondering if anyone had experienced this before and would be
appreciated if someone can give me some hints.
Thank you
Sien
|