<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><div style="direction: ltr;"><span style="-webkit-text-size-adjust: auto;">Double check the name and path defined in your script, that refer to your data. It tends to cause this kind of error. </span></div><div style="direction: ltr;"><span style="-webkit-text-size-adjust: auto;"><br></span></div><br><div style="-webkit-text-size-adjust: auto; text-align: right; direction: rtl;"><br></div></div><div style="-webkit-text-size-adjust: auto; direction: rtl; text-align: right;"><br>‫ב-13 באוג 2015, בשעה 08:21, ‏Seyedeh Samane Shojaei <<a href="mailto:samane.shojaie@gmail.com">samane.shojaie@gmail.com</a>> כתב/ה:‬<br><br></div><blockquote type="cite" style="-webkit-text-size-adjust: auto;"><div><div dir="ltr"><span style="font-size:12.8000001907349px">Dear all,</span><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I am a new user of FieldTrip, I got problem at the first stage of reading data. I am using Matlab R2011a, windows 7, 64 bit.  when I run my code, the following problem appears:</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><div>addpath('FielTrip\fieldtrip-lite-20150810\fieldtrip-20150810')</div><div>addpath('FielTrip\Tutorial\ArtifactRemoval\ArtifactRemoval.ds')</div><div>ft_defaults</div><div>% ft_preprocessing of example dataset</div><div>cfg = [];</div><div>cfg.dataset = 'ArtifactRemoval.ds'; </div><div>cfg.trialdef.eventtype = 'trial';</div><div>cfg = ft_definetrial(cfg);</div></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><div><font color="#ff0000">Warning: could not determine filetype of ArtifactRemoval.ds </font></div><div><font color="#ff0000">> In ft_filetype at 1221</font></div><div><font color="#ff0000">  In utilities\private\dataset2files at 42</font></div><div><font color="#ff0000">  In ft_checkconfig at 541</font></div><div><font color="#ff0000">  In ft_definetrial at 128</font></div><div><font color="#ff0000">  In ICAremoveEOG at 9</font></div><div><font color="#ff0000">Warning: no trialfun was specified, using ft_trialfun_general </font></div><div><font color="#ff0000">> In ft_definetrial at 135</font></div><div><font color="#ff0000">  In ICAremoveEOG at 9</font></div><div><font color="#ff0000">evaluating trialfunction 'ft_trialfun_general'</font></div><div><font color="#ff0000">??? Error using ==> ft_read_header at 2053</font></div><div><font color="#ff0000">unsupported header format (unknown)</font></div><div><font color="#ff0000"><br></font></div><div><font color="#ff0000">Error in ==> ft_trialfun_general at 78</font></div><div><font color="#ff0000">hdr = ft_read_header(cfg.headerfile, 'headerformat', cfg.headerformat);</font></div><div><font color="#ff0000"><br></font></div><div><font color="#ff0000">Error in ==> ft_definetrial at 174</font></div><div><font color="#ff0000">    [trl, event] = feval(cfg.trialfun, cfg);</font></div><div><font color="#ff0000"><br></font></div><div><font color="#ff0000">Error in ==> ICAremoveEOG at 9</font></div><div><font color="#ff0000">cfg = ft_definetrial(cfg);</font></div><div><font color="#ff0000"><br></font></div><div><font color="#000000">It is appreciated if you could help me.</font></div><div><font color="#000000">Regards,</font></div><div><font color="#000000">Samane</font></div></div></div>
</div></blockquote><blockquote type="cite" style="-webkit-text-size-adjust: auto;"><div><span>_______________________________________________</span><br><span>fieldtrip mailing list</span><br><span><a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a></span><br><span><a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></span></div></blockquote></body></html>