[FieldTrip] problem with surface & template files

Herring, J.D. (Jim) j.herring at donders.ru.nl
Thu Aug 20 09:32:27 CEST 2015

Dear Samane,

Please make sure you have downloaded the full version of fieldtrip and not the ‘lite’ version. Not all of the templates are included in the ‘lite’ version to save space. If you have done that, make sure that you have added the path to the fieldtrip folder (e.g. addpath(‘d:\fieldtrip’) and run ‘ft_defaults’.

You should then be able to run the code in the beamformer  and event-related averaging tutorial as fieldtrip automatically looks for the templates in the correct location (which is: fieldtrip\template\anatomy\...).



From: fieldtrip-bounces at science.ru.nl [mailto:fieldtrip-bounces at science.ru.nl] On Behalf Of Seyedeh Samane Shojaei
Sent: donderdag 20 augustus 2015 6:07
To: FieldTrip discussion list
Subject: [FieldTrip] problem with surface & template files

Dear all,

May I know where the "surface files" is? I am running last part of "Localizing oscillatory sources using beamformer techniques" tutorial (http://www.fieldtriptoolbox.org/tutorial/beamformer), but have a difficulty to find 'surface_white_both.mat'.

my another problem is for running the code available for planar gradient calculation (http://www.fieldtriptoolbox.org/tutorial/eventrelatedaveraging). the error is because the template file is not found.
??? Error using ==> ft_prepare_neighbours at 140
Template file could not be found - please check spelling or see
(please consider sharing it with others via the FT mailing list)

how to add the templates? when I use "addpath('template')", it is not recognized.

your help will be appreciated,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20150820/47a36995/attachment-0002.html>

More information about the fieldtrip mailing list