<div dir="ltr"><div>Dear all,</div><div><br></div><div>I'm trying to read in Fieldtrip an Elekta Neuromag epochs file (.fif) created with mne-python (MEG and EEG data file). I used the following snippet of code, and got the following error:</div><div><br></div><div>cfg = [];<br>cfg.dataset = filename;<br>data = ft_preprocessing(cfg);</div><div><br></div><div>Error using fiff_read_epochs (line 47)<br>Could not find epochs data</div><div>Error in fiff_read_epochs (line 47)<br>    error(me,'Could not find epochs data');</div><div>Error in ft_read_header (line 1846)<br>        epochs = fiff_read_epochs(filename);</div><div>Error in ft_read_header (line 125)<br>    hdr{i} = ft_read_header(filename{i}, varargin{:});</div><div>Error in ft_preprocessing (line 397)<br>  hdr = ft_read_header(cfg.headerfile, 'headerformat', cfg.headerformat,...</div><div><br></div><div>I saw that a former <a href="https://mailman.science.ru.nl/pipermail/fieldtrip/2016-March/010293.html">thread</a> reported the same error, but it seems that the code was changed meanwhile.</div><div>I'm using Matlab R2017a ver 9.2 and the Fieldtrip version dated from 16-05-2018. <a href="http://dropcanvas.com/wq648">Here</a> you can download the epochs file I used.</div><div>It would be very helpful is someone knows from where this problem could come.</div><div><br></div><div>Thank you very much,</div><div>Best,</div><div>Laetitia </div></div>