The source code is maintained in a SVN repository, which is behind the University network firewall. Only selected contributors from other places can access the svn server directly. However, a copy of our SVN repository is available from http://code.google.com/p/fieldtrip, which is accessible to everyone. You can use a subversion/svn client on Windows, Linux or OSX subversion to check out the code and update the code. Since we are using “svn file externals”, your SVN version has to be 1.6.x or later.
On the Linux/OSX command line you would do something like
cd /home/user/matlab svn checkout http://fieldtrip.googlecode.com/svn/trunk/ fieldtrip
and subsequently you can keep it up to date by occasionally doing
cd /home/user/matlab/fieldtrip svn update
To get an automatic update of your copy of the fieldtrip toolbox, you can use a cron job. The easiest is to make a shell script like this
#!/bin/sh cd /home/user/matlab/fieldtrip svn update
and name it “update-fieldtrip.sh”. Then you can add the following to your crontab
# do a daily update of the local fieldtrip version 02 22 * * * /home/user/bin/update-fieldtrip.sh
Share this page: