Table of Contents

Download the FieldTrip toolbox

You can download the FieldTrip toolbox here.

You can download the tutorial data here.

After downloading the toolbox, you unzip it and add the directory in which all the *.m files are located to your path. See also this question.

License

Copyrights (C) 2008-2011, Donders Institute for Brain, Cognition and Behaviour, The Netherlands (DCCN, DCC, DCN)
Copyrights (C) 2008-2009, Centre for Cognitive Neuroimaging in Glasgow, United Kingdom (CCNi)
Copyrights (C) 2003-2008, F.C. Donders Centre, University Nijmegen, The Netherlands (FCDC)
Copyrights (C) 2004-2007, Nijmegen Institute for Cognition and Information, The Netherlands (NICI)
Copyrights (C) 2004-2005, Universitatsklinikum Hamburg-Eppendorf, Germany (UKE)
Copyrights (C) 2003-2004, Center for Sensory Motor Interaction, University Aalborg, Denmark (SMI)
Copyrights (C) 1999-2003, Department of Medical Physics, Radboud University Nijmegen, The Netherlands (MBFYS)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Frequently Asked Questions

Which version of FieldTrip should I download from the ftp server?

Although initially we considered to have version 1.0, 1.1, 2.0, etc., eventually we decided against it. We have a smooth development path and sofar we have been able to maintain backward compatibility quite well. The latest version of the toolbox will generally work with your older scripts. There is a limited number of people that can directly change the code, and they take their responsibility to the other users very seriously. When we add or change functionality in the code, we always test it prior to committing it to the code repository.

We release a daily version of FieldTrip, with the name fieldtrip-YYYYMMDD, where YYYY, MM and DD are the year, month and day. These are automatically generated every day, and contain the most up-to-date code. Besides the normal daily release, there is also a lite version that does not contain the binary *.mat files. These mat files contain templates used for plotting source reconstructions and they do not change very often. The lite version is only approximately 60 MiB, whereas the normal version (which includes the anatomical templates) is around 120 MiB.

In general, you should download the most recent daily release version. It contains the most features and all known bugs will be fixed in that version. If you encounter a problem and think that that is caused by a bug in the code, you should download the latest version of that moment. If the problem still persists, please inform us about it through the email discussion list.

If you want to control in detail which version of FieldTrip you have or want to do frequent updates, you can consider using the read-only SVN version.

I am working at the F.C. Donders, should I also download FieldTrip?

If you want to use Fieldtrip inside the F.C. Donders Centre, you should not use the ftp version. Instead you should add h:\common\matlab\fieldtrip (on windows) or /home/common/matlab/fieldtrip (on linux) to your Matlab path. The common version on our network contains more functionality than the external ftp version (e.g. new experimental algorithms) and is immediately updated whenever a bug is found. That is also the reason why you should add that directory to your path, and not make your own copy (otherwise you would not benefit from updates by other people).

If you work at the F.C. Donders but you want to do your computations on your laptop or at home, or if you want to share FieldTrip with one of your external collaborators, you should use the ftp version. We do not want the internal experimental version to be used outside the F.C. Donders.

I am having problems downloading from the FTP server

The FieldTrip source code and example datasets are released to the general public on our ftp server.

If you have difficulties using the ftp server (especially using a OSX or linux command line ftp client), you can try to turn off “Extended Passive Mode” by typing “epsv”.

The ftp service runs on a shared server which occasionally has a performance bottleneck. If you cannot connect, please try again at a later time (i.e. one hour later or the next day).

Some ftp clients sometimes have problems with specific firewall configurations, i.e. both the firewall on your side and on our side. If you continue to have problems downloading, please try with another ftp client.