open-discussion > RE: afni_matlab problem
Apr 17, 2013  02:04 AM | Erik Beall
RE: afni_matlab problem
Ah yes, I have had a similar problem in the past as well and it may be the same thing.  It sounds like your path is not getting set correctly when MATLAB calls unix() to invoke the bash shell - see http://www.mathworks.com/matlabcentral/n...
where you have to edit the matlab startup file to contain:

export PATH=$PATH:/usr/local/desiredpath

where /usr/local/desiredpath is your path to AFNI's 3dcopy and all other afni tools.  Before trying this however, run !echo $PATH and see if it contains the AFNI directories.  It probably won't given your unix() string gives command not found, but good idea to check first.
Erik

Threaded View

TitleAuthorDate
Pouya Ghaemmaghami Apr 15, 2013
Erik Beall Apr 15, 2013
Erik Beall Apr 16, 2013
Pouya Ghaemmaghami Apr 17, 2013
RE: afni_matlab problem
Erik Beall Apr 17, 2013
Pouya Ghaemmaghami Apr 23, 2013
Hang Joon Jo Oct 15, 2013
Marlene Tahedl Dec 8, 2021
Erik Beall Apr 29, 2013