<div dir="ltr">Dear Jim,<div><br></div><div>Thank you so much. I was using "lite" version. now it is fixed.</div><div><br></div><div>Regards,</div><div>Samane</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 20, 2015 at 3:32 PM, Herring, J.D. (Jim) <span dir="ltr"><<a href="mailto:j.herring@donders.ru.nl" target="_blank">j.herring@donders.ru.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Dear Samane,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></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’.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></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\...).<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Best,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Jim<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:black;background:#f7f9fa"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></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""> <a href="mailto:fieldtrip-bounces@science.ru.nl" target="_blank">fieldtrip-bounces@science.ru.nl</a> [mailto:<a href="mailto:fieldtrip-bounces@science.ru.nl" target="_blank">fieldtrip-bounces@science.ru.nl</a>]
<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<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Dear all,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">May I know where the "surface files" is? I am running last part of "<a name="14f4a06c627e0801_localizing_oscillatory_sources_using_bea"><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" target="_blank"><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><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></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" target="_blank">http://www.fieldtriptoolbox.org/tutorial/eventrelatedaveraging</a>). the error
 is because the template file is not found. <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="color:red">??? Error using ==> ft_prepare_neighbours at 140</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:red">Template file could not be found - please check spelling or see</span><u></u><u></u></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" target="_blank">http://fieldtrip.fcdonders.nl/faq/how_can_i_define_my_own_neighbourhood_template</a></span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:red">(please consider sharing it with others via the FT mailing list)</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></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><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><br>
your help will be appreciated,<u></u><u></u></p>
<div>
<p class="MsoNormal">Samane<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div></div></div>
</div>

<br>_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br></blockquote></div><br></div>