The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: SVN
Replies: 1   Last Post: May 15, 2013 3:35 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Doug Schwarz

Posts: 1,412
Registered: 12/7/04
Posted: May 15, 2013 3:35 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

In article <kn0ld1$nai$>,
"Jessica " <> wrote:

> I recently updated to Mountain Lion and am trying to get Matlab to
> communicate with subversion client (needed for Psych Toolbox). I followed
> online tips to install Xcode and then install Command Line Tools. However,
> this still did not fix the problem.
> In the terminal, it seems that svn is installed (version 1.6.18). However,
> Matlab does not seem to detect it. Do I need to manually set my path to where
> subversion is saved? And if so, how do I find out where that path is?
> I am running Matlab 2010a.

In my startup.m file I have this block of code:

% Set unix path.
upath = getenv('PATH');
udirs = regexp(upath,pathsep,'split');
if ~ismember('/opt/subversion/bin',udirs)
udirs = [{'/opt/subversion/bin'},udirs];
if ~ismember('/usr/local/bin',udirs)
udirs = [udirs,{'/usr/local/bin'}];
upath = sprintf(['%s',pathsep],udirs{:});
upath(end) = [];

which adds '/opt/subversion/bin' to the beginning of the unix path, and
'/usr/local/bin' to the end. Make adjustments for your paths as
necessary. (I am using a downloaded version of svn because the version
in /usr/bin does not handle encrypted communications with the

Note: this code only changes the unix PATH as seen from MATLAB -- it has
no effect on the PATH environment variable in the Terminal.

Doug Schwarz
Make obvious changes to get real email address.

Date Subject Author
Read SVN
Read Re: SVN
Doug Schwarz

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.