make sure your paths are set correctly. cheers, Michael On Sat, Oct 3, 2009 at 4:03 PM, Michel Grothe <[log in to unmask]>wrote: > Dear SPMers, > > I tried to use the automatic reorientation script posted here with SPM5 and > int16 T1-images and got the following error message: > > ??? Undefined function or method 'auto_reorient' for input arguments of > type > 'char'. > > Does anybody know what this is about? > > I also tried the "Center-of-mass"-script which was posted in the list > before: > > > https://www.jiscmail.ac.uk/cgi-bin/wa.exe?A2=ind0710&L=SPM&D=0&m=25994&P=61801 > > which gave me the following error: > > ??? Error using ==> nargin > Not a valid M-file. > > Since my programming skills are close to zero I do not know what´s the > problem and any hints will be highly appreciated. > > Thanks in advance, > Michel > -- Research Associate Gazzaley Lab Department of Neurology University of California, San Francisco