<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><div>An easy way to hack it is to preprocess some other data using the Fieldtrip pipeline, grab the structure that's created, and then manually replace the appropriate fields (like .trial, .average, .time, etc.) with the fields from your own data. You may also have to replace some other fields, like .dimord, if they don't match yours; but this is pretty straightforward to do once you get familiar with the Fieldtrip data structure. This is what I've done in the past when I have data I processed in some other software or toolbox but then I want to use Fieldtrip's functions for cluster-based permutation tests or whatnot. There may be more proper or more efficient ways to do it, but this hack has worked fine for me so far.<br clear="all"></div><div dir="ltr"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><br></div><span><div>---<br></div>Stephen Politzer-Ahles<br>The Hong Kong Polytechnic University<br>Department of Chinese and Bilingual Studies<br><a href="http://www.mypolyuweb.hk/~sjpolit/" target="_blank">http://www.mypolyuweb.hk/~sjpolit/</a></span><a href="http://www.nyu.edu/projects/politzer-ahles/" target="_blank"></a></div></div></div></div></div></div></div></div></div><br></div><br><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Message: 1<br>
Date: Sun, 2 Jun 2019 16:28:08 +0200<br>
From: <<a href="mailto:daniel.strahnen@uni-ulm.de" target="_blank">daniel.strahnen@uni-ulm.de</a>><br>
To: <<a href="mailto:fieldtrip@science.ru.nl" target="_blank">fieldtrip@science.ru.nl</a>><br>
Subject: [FieldTrip] Load already preprocessed data to fieldtrip<br>
        functions<br>
Message-ID: <000401d5194f$66ece690$34c6b3b0$@<a href="http://uni-ulm.de" rel="noreferrer" target="_blank">uni-ulm.de</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Is it possible to use the fieldtrip functions for already preprocessed data<br>
that is organized in a .mat file. <br>
<br>
The data is stored in a matrix organized as follows: Channels x samples<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20190602/37bb8ec8/attachment.html" rel="noreferrer" target="_blank">http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20190602/37bb8ec8/attachment.html</a>><br>
<br>
------------------------------<br>
<br>
</blockquote></div></div>