Re: [Freesurfer] SPM coreg error

2009-05-18 Thread Douglas N Greve
btw, you'll probably also need to have this env variable set too: setenv FS_SPMREG_MATLAB /usr/pubsw/common/matlab/7.1/bin/matlab Douglas N Greve wrote: looks like you need to have spm in your matlab path. Try adding path(path,'/usr/pubsw/common/spm/spm5'); in your ~/matlab/startup.m file

Re: [Freesurfer] SPM coreg error

2009-05-18 Thread Douglas N Greve
looks like you need to have spm in your matlab path. Try adding path(path,'/usr/pubsw/common/spm/spm5'); in your ~/matlab/startup.m file doug Rodrigo Zepeda wrote: Hi, I'm getting an error trying to coregister a ct.nii and a orig.mgz file. The subjects directory is: /autofs/space/mu

[Freesurfer] SPM coreg error

2009-05-18 Thread Rodrigo Zepeda
Hi, I'm getting an error trying to coregister a ct.nii and a orig.mgz file. The subjects directory is: /autofs/space/multnomah_002/users/Cashlab/BW10 Working directory: /autofs/space/multnomah_002/users/Cashlab/BW10/BW10_Pre_Op_MRI "which spmregister" outputs this: /usr/local/freesurfer/sta

Re: [Freesurfer] SPM coreg error

2009-05-14 Thread Douglas N Greve
Can you send us the info requested in https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer? doug Rodrigo Zepeda wrote: While trying to coregister a ct.nii and a orig.mgz file using the following command: spmregister --s SUBJECT --mov ct.nii --reg spm.reg.dat --fsvol orig I get the

[Freesurfer] SPM coreg error

2009-05-13 Thread Rodrigo Zepeda
While trying to coregister a ct.nii and a orig.mgz file using the following command: spmregister --s SUBJECT --mov ct.nii --reg spm.reg.dat --fsvol orig I get the following error: >> >> >> ERROR: spm_coreg >> ??? Undefined function or variable 'x'. >> Finished after 0.023302 sec >> >> Parameter