<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Dear Samane,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">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’.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">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\...).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Best,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Jim<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:black;background:#F7F9FA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> fieldtrip-bounces@science.ru.nl [mailto:fieldtrip-bounces@science.ru.nl]
<b>On Behalf Of </b>Seyedeh Samane Shojaei<br>
<b>Sent:</b> donderdag 20 augustus 2015 6:07<br>
<b>To:</b> FieldTrip discussion list<br>
<b>Subject:</b> [FieldTrip] problem with surface & template files<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Dear all,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">May I know where the "surface files" is? I am running last part of "<a name="localizing_oscillatory_sources_using_bea" id="localizing_oscillatory_sources_using_beamformer_techniques"><span style="font-family:"Calibri","sans-serif"">Localizing
 oscillatory sources using beamformer techniques" <span style="color:black">tutorial (</span></span></a><a href="http://www.fieldtriptoolbox.org/tutorial/beamformer"><span style="font-family:"Calibri","sans-serif"">http://www.fieldtriptoolbox.org/tutorial/beamformer</span></a><span style="font-family:"Calibri","sans-serif";color:black">),
 but have a difficulty to find </span><span style="font-size:9.0pt;font-family:Consolas;color:black;background:#F7F9FA">'surface_white_both.mat'.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">my another problem is for running the code available for planar gradient calculation (<a href="http://www.fieldtriptoolbox.org/tutorial/eventrelatedaveraging">http://www.fieldtriptoolbox.org/tutorial/eventrelatedaveraging</a>). the error
 is because the template file is not found. <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="color:red">??? Error using ==> ft_prepare_neighbours at 140</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:red">Template file could not be found - please check spelling or see</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:red"><a href="http://fieldtrip.fcdonders.nl/faq/how_can_i_define_my_own_neighbourhood_template">http://fieldtrip.fcdonders.nl/faq/how_can_i_define_my_own_neighbourhood_template</a></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:red">(please consider sharing it with others via the FT mailing list)</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">how to add the templates? when I use "addpath('template')", it is not recognized. </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><br>
your help will be appreciated,<o:p></o:p></p>
<div>
<p class="MsoNormal">Samane<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>