Hi Sandra,
I just had this same problem about a week ago. The solution which worked for me was adding the following line of text into the startup.m file in your matlab folder:
path(path,'/usr/pubsw/common/spm/spm5');
I'm not sure it matter exactly where you put it. I put mine in the last row in the FreeSurfer FAST section, under the line beginning with "clear".
Hope that helps!
-Adam
Hello,
When running spmregister-sess (standard environment was sourced) I encountered this error:
ERROR: matlab exited with errors ERROR: cannot find spm_coreg.m. Make sure that the SPM package is in your matlab path (check ~/matlab/startup) ERROR: spm_coreg
ERROR: spmregister failed __________________________________________________________
Our information:
FREESURFER_HOME: /usr/local/freesurfer/stable4
Build stamp: freesurfer-Linux-centos4_x86_64-stable-v4.5.0-20100311
RedHat release: CentOS release 5.3 (Final)
Kernel info: Linux 2.6.18-128.7.1.el5 x86_64
NMR Center info (/space/freesurfer exists):
machine: purkinje
SUBJECTS_DIR: /cluster/ablood/1/DMRF_ASL/DMRF_ASL_recons
PWD: /cluster/ablood/1/DMRF_ASL
ssh purkinje setenv SUBJECTS_DIR /cluster/ablood/1/DMRF_ASL/DMRF_ASL_recons cd /cluster/ablood/1/DMRF_ASL __________________________________________________________________
We appreciate any help you can give us!!
Thanks,
Sandra Mood and Motor Control Laboratory Athinoula Martinos Center for Biomedical Imaging Massachusetts General Hospital 120 6th St. Charlestown, MA 02129 Tel: 617-643-6245 Fax: 617-726-1351 Email: swoodman1@partners.org
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Adam Nitenson, B.S. Brain Genomics Lab Massachusetts General Hospital