How can I process continuous data without triggers?

Most of the FieldTrip documentation is written for a cognitive neuroscience audience, i.e. researchers that usually are performing experiments in which different stimuli are presented and where the subject performs different mental tasks.

However, you can also use FieldTrip for analyzing continuous data that does not contain any triggers. One way for processing continuous data is to read it as a single, very long data segment. That is done by skipping ft_definetrial and by calling ft_preprocessing like this

This will give you a raw data structure containing all continuous data represented as a single, very long trial. You can plot it with

plot(data.time{1}, data.trial{1});

For some analyses, e.g. spectral power estimation, it is better to have the data in smaller chucks. You can segment the continuous data after reading it into Matlab using ft_redefinetrial or while reading it in using the following configuration: