Hi,
> I newly installed a Matlab 6.1 and SPM2, both of with run quite good in one of
> my other PC. But I found the newly installed one could not creat images in SPM,
> no matter what I'm doing, it goes out with errors not able to creat images.
>
> The following were shown in the command window in Matlab.
> SPM2: spm_imcalc_ui (v2.7) 17:05:18 - 22/01/2006
> ========================================================================
> ??? Undefined function or variable 'spm_create_image'.
>
> Error in ==>
> C:\MATLAB6p1\spm2\marsbar\marsbar-devel-0.34\marsbar\spm99\spm_create_vol.m
The clue is the line above. It looks like you have the marsbar/spm99
directory permanently on your path and ahead of SPM - you should
remove this directory from your path (but not the marsbar directory
itself) - it should work after that.
Best,
Matthew
|