Yes, that should work. doug
Adam Nitenson wrote: > 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: swoodm...@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 > _______________________________________________ > Freesurfer mailing list > Freesurfer@nmr.mgh.harvard.edu > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer > > > -- Douglas N. Greve, Ph.D. MGH-NMR Center gr...@nmr.mgh.harvard.edu Phone Number: 617-724-2358 Fax: 617-726-7422 Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting FileDrop: www.nmr.mgh.harvard.edu/facility/filedrop/index.html _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.