[FieldTrip] reading .mat in fieldtrip

Antonio Rodriguez toni.rbaena at gmail.com
Thu Aug 11 20:47:18 CEST 2016


Hi.

You can create an empty cfg structure, and fill with data :

cfg =[];
newdata = ft_redefinetrial(cfg,data);

El 11 ago. 2016 7:11 p. m., "Bahareh Elahian (belahian)" <
belahian at memphis.edu> escribió:

> Thanks for the answer,
>
> I have had a look on this page before and I tried to follow the steps.
> The problem is ;I do not have any cfg to define cfg.trl and use newdata =
> ft_redefinetrial(cfg,data);
>
> Any other idea?
>
>
>
> On Aug 11, 2016, at 11:36 AM, Arjen Stolk <a.stolk8 at gmail.com> wrote:
>
> Hi Bahareh,
>
> To get you started, see this page:
> http://www.fieldtriptoolbox.org/faq/how_can_i_import_my_own_dataformat
>
> It describes what fieldtrip expects your raw data to look like.
>
> Arjen
>
> 2016-08-11 8:42 GMT-07:00 Bahareh Elahian (belahian) <belahian at memphis.edu
> >:
>
>> Hi All,
>>
>>
>>
>> I have a “.mat” file which contais: <8x10350000 double> and sampling
>> rate.
>>
>> How should I import this data to field trip? By using   [data] =
>> ft_preprocessing( cfg);
>>
>>   I am getting an error that the data should be in the format of raw or
>> raw + comp.
>>
>>
>>
>> Any idea?
>>
>>
>>
>> Thanks!
>>
>>
>>
>>
>>
>> _______________________________________________
>> fieldtrip mailing list
>> fieldtrip at donders.ru.nl
>> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20160811/cdcafccd/attachment.html>


More information about the fieldtrip mailing list