<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear Vlad,<div><br></div><div>It seems that the matlab structure already contains the data in fieldtrip format. This structure normally is created when you read raw data from some compatible data format.</div><div><br></div><div>Best,</div><div><br></div><div>Stephan</div><div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><div>________________________________________________________</div><div>Stephan Moratti, PhD<br><br></div><div>see also: <a href="http://web.me.com/smoratti/">http://web.me.com/smoratti/</a><br><br></div><div>Universidad Complutense de Madrid</div><div>Facultad de Psicología</div><div>Departamento de Psicología Básica I</div><div>Campus de Somosaguas</div><div>28223 Pozuelo de Alarcón (Madrid)</div><div>Spain</div><div><br></div><div>and</div><div><br></div><div>Center for Biomedical Technology</div><div>Laboratory for Cognitive and Computational Neuroscience</div><div>Parque Científico y Tecnológico de la Universidad Politecnica de Madrid<br>Campus Montegancedo</div><div>28223 Pozuelo de Alarcón (Madrid)</div><div>Spain<br><br><br>email: <a href="mailto:smoratti@psi.ucm.es">smoratti@psi.ucm.es</a><br>Tel.: +34 679219982</div></div></span>
</div>
<br><div><div>El 11/06/2012, a las 03:40, Vlad Chiriacescu escribió:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div> Hello,</div><div><br></div><div> I am working on a school project related to the Biomag 2012 analysis competition.</div><div><br></div><div> I have downloaded a .zip file from <a href="ftp://ftp.fcdonders.nl/pub/biomag2012/">ftp://ftp.fcdonders.nl/pub/biomag2012/</a>.</div><div><br></div><div> I have extracted the content and I am interested in the second objective,</div><div>the one related to long-term memory representations (folder data2).</div><div><br></div><div> I was able to load the 2 mat files into Matlab workspace.</div><div><br></div><div> I was also able to use FieldTrip functions on tutorial code.</div><div><br></div><div> However, when I try to use ft_preprocessing on one of the mat files I get an error.</div><div><br></div><div> Here is the code I wrote:</div><div><br></div><div> cfg1.dataset =
'ltmcla_S08.mat'</div><div> data_org = ft_preprocessing(cfg1)</div><div><br></div><div> And the error is:</div><div> ??? Error using ==> ft_read_header at 1639<br>unsupported header format (matlab)<br><br>Error in ==> ft_preprocessing at 344<br> hdr = ft_read_header(cfg.headerfile, 'headerformat', cfg.headerformat);</div><div><br></div><div> I saw a tutorial using ft_read_header, ft_read_data and ft_write_data <br></div><div>on a .dat file that was converting it to a mat/bin pair.</div><div><br></div><div> However, I do not have a .dat file, I have a .mat file.</div><div><br></div><div> Just in case is necessary, I write some details of the .mat file:</div><div>Is a 1*1 matlab structure with the following fields:</div><div>data, channel, design, time, fs, dim.<br></div><div><br></div><div> How could I use FieldTrip on this data? If there are more ways, which one would be the
fastest/easiest?</div><div><br></div><div> Thanks a lot,</div><div><br></div><div> Vlad<br></div></div></div>_______________________________________________<br>fieldtrip mailing list<br><a href="mailto:fieldtrip@science.ru.nl">fieldtrip@science.ru.nl</a><br>http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</blockquote></div><br></div></body></html>