FieldTrip workshop in Salzburg, Austria

There will be a FieldTrip training event linked to the first Salzburg Mind-Brain Annual Meeting.

  • By whom: Robert Oostenveld and Jan-Mathijs Schoffelen
  • When: 11-12 July 2017
  • Where: Centre for Cognitive Neuroscience (CCNS) at the Paris Lodron University of Salzburg (PLUS).
  • Local organization: Nathan Weisz and Thomas Hartmann.

More details are provided by the local organizers here.

How should you prepare for the workshop?

In this workshop we will have a steep learning curve. We will move from basic preprocessing to channel and source-level connectivity. Given the limited amount of time, it is important that you come well prepared.

If you are not familiar with MATLAB or are not certain about your MATLAB skills, please go through the “MATLAB for psychologists” tutorial on

Please read the FieldTrip reference paper to understand the toolbox design.

Furthermore, we recommend you to watch the MEG basics and instrumentation videoprior to the workshop.

In the first workshop hands-on session we will start with preprocessing MEG data, but will not spend too much time on understanding how MATLAB works and how FieldTrip organizes the data. Therefore if you have never done any FieldTrip analysis in MATLAB before, you should read this introduction tutorial.

We will start each day at 9:00 sharp and will finish around 17:30.

Getting started with the hands-on sessions

For the hands-on sessions you have to start MATLAB. To ensure that everything runs smooth, we will work with a clean and well-tested version of FieldTrip that is already ‘installed’ on your computer.

To get going, you need to start MATLAB. Then, you need to issue the following command

cd C:\FieldTrip_workshop\toolkit_salzburg\fieldtrip

Please do NOT use the graphical path management tool from MATLAB. In this hands-on session we’ll manage the path from the command line, but in general you are much better off using the startup.m file than the path GUI.

Please do NOT add FieldTrip with all subdirectories, subdirectories will be added automatically when needed, and only when needed.

The restoredefaultpath command clears your path, keeping only the official MATLAB toolboxes. The addpath(pwd) statement adds the present working directory, i.e. the directory containing the FieldTrip main functions. The ft_defaults command ensures that all required subdirectories are added to the path.

If you get the error “can’t find the command ft_defaults” you should check the present working directory.

After installing FieldTrip to your path, you need to change into the hands-on specific directory, containing the data that is necessary to run the specific hands-on session. These folders are located in C:\FieldTrip_workshop\toolkit_salzburg\fieldtrip\data.