Hi Linn,

Sorry for the delay in answering. The path has to be set directly in your environment variable (the variable $PATH has to point to the correct version). I need a few more details about what you tried and which OS you are using to be able to help you. 

If you are using mac, here is an example on how you can set the path in the .shrc file:
setenv PATH $PATH":/Applications/MATLAB_R2013b.app/bin"

You can also have a look at the following posts:
http://www.mail-archive.com/freesurfer@nmr.mgh.harvard.edu/msg07283.html
http://www.mail-archive.com/freesurfer@nmr.mgh.harvard.edu/msg25017.html
http://www.mail-archive.com/freesurfer@nmr.mgh.harvard.edu/msg26909.html
http://www.mail-archive.com/freesurfer@nmr.mgh.harvard.edu/msg27290.html

Let me know how it goes,

Marie


On Oct 22, 2013, at 2:41 AM, Linn Mittlestein <linnmittle@gmail.com>
 wrote:

Hi,

I am trying to compute lgi measures, and I think my problem lies in the fact that the matlab path is not set correctly; it is calling an older version of matlab however I need it to point to matlab2013b. I have tried numerous things like changing the startup.m file, the .bashrc file and exporting the matlab path, however It keeps calling another version of Matlab. Can someone please tell me how exactly the path is set and where?

Best Wishes and thank you,

Linn

---------- Forwarded message ----------
From: Linn Mittlestein <linnmittle@gmail.com>
Date: Mon, Oct 21, 2013 at 9:33 AM
Subject: Fwd: LGI path problem
To: freesurfer@nmr.mgh.harvard.edu



From: Linn Mittlestein <linnmittle@gmail.com>Date: Fri, Oct 18, 2013 at 1:30 PM
Subject: LGI path problem
To: freesurfer@nmr.mgh.harvard.edu



Hi,

I am trying to compute lgi measures, and I think my problem lies in the fact that the matlab path is not set correctly; it is calling an older version of matlab however I need it to point to matlab2013b. I have tried numerous things like changing the startup.m file, the .bashrc file and exporting the matlab path, however It keeps calling another version of Matlab. Can someone please tell me how exactly the path is set and where?

Best Wishes and thank you,

Linn


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