Instructions for the USB stick
The software
The USB stick contains a recent release of the toolbox, called fieldtripyyyymmdd.zip
. Please copy it to your computer and unzip it. Once FieldTrip is on your computer, the toolbox needs to be added to the MATLAB path. To achieve this, do the following:
 Change directory to the location of the FieldTrip package. Note the subfolders present.

Add the FieldTrip folder to the path with
addpath(pwd)
Note: do not add the folder recursively, i.e., do not use addpath(genpath('path_to_fieldtrip'))
.
 Run ‘ft_defaults’ in MATLAB.
 Confirm that FT has been successfully added to your path, for example by typing ‘which ft_preprocessing’ in Matlab; the correct path should be displayed.
If you get any warnings about specific functions or SPM or EEGLAB being on your path multiple times, you should type
restoredefaultpath
addpath(pwd)
ft_defaults
This ensures that FieldTrip is the only nonMATLAB toolbox on your path.
The data
The USB stick contains three versions of the data:
 ds000117pruned
 ds000117zipped
 ds000117practical.tar
ds000117pruned
This is a a subset of the original data. It contains the complete data from subject 15 and can be used as is. To reduce the size without changing the organization of the BIDS structure, we have zero’ed all large data files, just like for the BIDS examples. This pruned version also contains (in the derivatives folder) the results of all pipelines used in these tutorials.
Copying many small and empty files can take a lot of time, hence we expect that copying the zipped version will be faster.
ds000117zipped
It turned out that this approach with the multiple zip files did not work to distribute the data reliably; Windows users would unzip with the graphical user interface and get all files scattered over different places.
This is a zipped version that contains the same as the pruned version. Different subdirectories have been added to separate zip files. You can copy these zip files to your computer and subsequently unzip them. The unzipping should be done in a specific order. You should start with
unzip ds000117prunedroot.zip
For the following ones subject 15 is required, the others are optional:
unzip ds000117prunedsub01.zip
unzip ds000117prunedsub02.zip
unzip ds000117prunedsub03.zip
unzip ds000117prunedsub04.zip
unzip ds000117prunedsub05.zip
unzip ds000117prunedsub06.zip
unzip ds000117prunedsub07.zip
unzip ds000117prunedsub08.zip
unzip ds000117prunedsub09.zip
unzip ds000117prunedsub10.zip
unzip ds000117prunedsub11.zip
unzip ds000117prunedsub12.zip
unzip ds000117prunedsub13.zip
unzip ds000117prunedsub14.zip
unzip ds000117prunedsub15.zip
unzip ds000117prunedsub16.zip
Again, subject 15 is required, the others are optional:
unzip ds000117prunedderivativesfreesurfersub01.zip
unzip ds000117prunedderivativesfreesurfersub02.zip
unzip ds000117prunedderivativesfreesurfersub03.zip
unzip ds000117prunedderivativesfreesurfersub04.zip
unzip ds000117prunedderivativesfreesurfersub05.zip
unzip ds000117prunedderivativesfreesurfersub06.zip
unzip ds000117prunedderivativesfreesurfersub07.zip
unzip ds000117prunedderivativesfreesurfersub08.zip
unzip ds000117prunedderivativesfreesurfersub09.zip
unzip ds000117prunedderivativesfreesurfersub10.zip
unzip ds000117prunedderivativesfreesurfersub11.zip
unzip ds000117prunedderivativesfreesurfersub12.zip
unzip ds000117prunedderivativesfreesurfersub13.zip
unzip ds000117prunedderivativesfreesurfersub14.zip
unzip ds000117prunedderivativesfreesurfersub15.zip
unzip ds000117prunedderivativesfreesurfersub16.zip
The full data for subject 15 is too large to fit in a single zip file:
unzip ds000117zipped/ds000117prunedderivativesmeg_derivativessub15run01.zip
unzip ds000117zipped/ds000117prunedderivativesmeg_derivativessub15run02.zip
unzip ds000117zipped/ds000117prunedderivativesmeg_derivativessub15run03.zip
unzip ds000117zipped/ds000117prunedderivativesmeg_derivativessub15run04.zip
unzip ds000117zipped/ds000117prunedderivativesmeg_derivativessub15run05.zip
unzip ds000117zipped/ds000117prunedderivativesmeg_derivativessub15run06.zip
The others are optional:
unzip ds000117prunedderivativesmeg_derivativessub01.zip
unzip ds000117prunedderivativesmeg_derivativessub02.zip
unzip ds000117prunedderivativesmeg_derivativessub03.zip
unzip ds000117prunedderivativesmeg_derivativessub04.zip
unzip ds000117prunedderivativesmeg_derivativessub05.zip
unzip ds000117prunedderivativesmeg_derivativessub06.zip
unzip ds000117prunedderivativesmeg_derivativessub07.zip
unzip ds000117prunedderivativesmeg_derivativessub08.zip
unzip ds000117prunedderivativesmeg_derivativessub09.zip
unzip ds000117prunedderivativesmeg_derivativessub10.zip
unzip ds000117prunedderivativesmeg_derivativessub11.zip
unzip ds000117prunedderivativesmeg_derivativessub12.zip
unzip ds000117prunedderivativesmeg_derivativessub13.zip
unzip ds000117prunedderivativesmeg_derivativessub14.zip
unzip ds000117prunedderivativesmeg_derivativessub15.zip
unzip ds000117prunedderivativesmeg_derivativessub16.zip
unzip ds000117prunedderivativesmeg_derivativessubemptyroom.zip
The results of the FieldTrip handson pipelines are each contained in a single zip file:
unzip ds000117prunedderivativesmeg_derivativesanatomy.zip
unzip ds000117prunedderivativesmeg_derivativesgroupanalysis.zip
unzip ds000117prunedderivativesmeg_derivativesraw2erp.zip
unzip ds000117prunedderivativesmeg_derivativessensoranalysis.zip
unzip ds000117prunedderivativesmeg_derivativessourceanalysis.zip
ds000117practical
This is a version that has even been trimmed down further. It contains the data of one run of one subject. Note that it is not subject 15, as used in the FieldTrip tutorials, but subject 01. You can use the single run of this single subject in the same fashion, but you will have to change the file name in some tutorials.
For the group analysis tutorial you will need all processed data from all subjects. That is not included here, please get it from one of the other versions.