Hi Christiane,

What do you mean when you say that you get the old path with getmatlab?

In any case, the error seems not related to a matlab path issue. Can you please attach the entire log?

Marie

On Nov 18, 2013, at 12:03 AM, "Jockwitz, Christiane" <c.jockwitz@fz-juelich.de>
 wrote:

Dear Freesurfer experts,
 
I tried to run the local GI command recon-all –s –localGI and got the following error message:
 
>> ??? Undefined function or method 'make_outer_surface' for input arguments of
type 'char'.
 
From earlier post I tried to fix the problem by changing the matlabpath like this:
 
setenv MATLABPATH /directory/bin
> setenv PATH ${MATLABPATH}/bin:${PATH}
 
However, if I then check the path via „getmatlab“ I still get the old path. Did I do something wrong?
And is it right to set up my matlabpath to the matlab/bin folder?
 
The scripts like make_outer_surface.m are located in the freesurfer/matlab directory. Or does the path have to point to the scripts directly?
 
Thank you very much in advance
 
Kind regards,
Christiane

 



------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------

_______________________________________________
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.