FieldTrip Workshop in Guangzhou, China

  • Who: Diego Lozano-Soldevilla
  • When: August 23rd-25th 2016
  • Where: South China Normal University, Guangzhou

REGISTRATION CLOSED: NO PLACES AVAILABLE

Program:

Tuesday August 23rd

  • 12:45 – 13:45 Lunch
  • dinner (not included, i.e. on own costs)

Wednesday August 24th

  • 13:00 – 14:00 Lunch

Thursday August 25th

Installing FieldTrip and Tutorial preparation

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 you can download here). Importantly, the tutorial data does not have to be downloaded but we strongly recommend to download before the workshop clicking at this link)

  1. Copy the complete contents of the USB stick to your computer.
  2. Unzip the fieldtrip-20160818.zip file.
  3. Put all the data files in a directory called 'tutorial' (or something else you'll remember).

Depending on the unzip program you are using (e.g. Winrar), the name of the zip file might also appear as directiory, resulting in path_to_directory/fieldtrip-20160818/fieldtrip-20160818, i.e. the fieldtrip directory in a fieldtrip directory. Please fix that by moving all files one level up.

After copying all files to your computer and unzipping then, you start MATLAB. To ensure that the right version of fieldtrip is used, and not another version (such as the one included in SPM or EEGLAB), you type in the MATLAB command window

restoredefaultpath
cd path_to_directory/fieldtrip-20160818
addpath(pwd)
ft_defaults

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 change into the tutorial directory

cd path_to_directory/tutorial
workshop/guangzhou.txt · Last modified: 2016/08/18 19:31 by diego

You are here: startworkshopguangzhou
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0
This DokuWiki features an Anymorphic Webdesign theme, customised by Eelke Spaak and Stephen Whitmarsh.
Mobile Analytics Website Security Test