<html><body><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 ftp://ftp.fcdonders.nl/pub/biomag2012/.</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></body></html>