help > RE: Seed-to-voxel error, Results explorer
Aug 18, 2015  03:08 PM | Alfonso Nieto-Castanon - Boston University
RE: Seed-to-voxel error, Results explorer
Hi Annie,

Yes, that is perfectly fine as well but you should use instead the absolute path to the conn folder (e.g. /software/conn) instead of a relative path (e.g. ./conn). Using relative paths suffers from the same issue, where as soon as Matlab changes the current folder the relative path no longer points to the correct location of CONN's files.

Hope this helps
Alfonso 
Originally posted by Annie Möller:
Thank you for your answer.

What I write in Matlab to start the toolbox is:

spm8m11a_path
addpath('./conn/')
conn

I guess that's what you mean? (I am in the same directory as conn when I start Matlab, hence ./)
Should I do it diferently?
Originally posted by Alfonso Nieto-Castanon:
Hi Annie,

My guess is that you forgot to add the CONN installation folder to the Matlab path (so as soon as Matlab changes the current directory it no longer finds conn files). To add CONN to the Matlab path simply follow these steps:

Threaded View

TitleAuthorDate
Annie Möller Aug 18, 2015
Alfonso Nieto-Castanon Aug 18, 2015
Annie Möller Aug 18, 2015
Annie Möller Aug 19, 2015
Alfonso Nieto-Castanon Aug 19, 2015
Annie Möller Aug 20, 2015
RE: Seed-to-voxel error, Results explorer
Alfonso Nieto-Castanon Aug 18, 2015