Problems installing MNE-C (with Fieldtrip)

I am new to MNE and have just installed Fieldtrip and MNE on my computer which runs Ubuntu 20.04. I suspect that the problem i describe below relates to my MNE installation hence why i post here.

I have followed the instructions, and successfully performed the test describe here: Installing MNE-C — MNE 0.23.0 documentation (using MNE-2.7.3-3268).

In Matlab, when i try to open a .fif file, i run into the following problem:

hdr = ft_read_header(filename);
Read a total of 8 projection items:
generated with autossp-1.0.1 (1 x 306) idle
generated with autossp-1.0.1 (1 x 306) idle
generated with autossp-1.0.1 (1 x 306) idle
generated with autossp-1.0.1 (1 x 306) idle
generated with autossp-1.0.1 (1 x 306) idle
generated with autossp-1.0.1 (1 x 306) idle
generated with autossp-1.0.1 (1 x 306) idle
generated with autossp-1.0.1 (1 x 306) idle
306 MEG channel locations transformed
Error using ft_read_header (line 1933)
Undefined function ‘fiff_read_epochs’ for input arguments of type ‘char’.

Does this relate to the MNE installation and can i get any advice how to resolve it?

many thanks!

Hi @jlil sorry for the late reply, if you solved your problem in the meantime it’d be great if you could post the solution and mark this thread as “solved” (selecting your reply).

What i can say about this: reading a .fif file in MATLAB using FieldTrip probably has nothing to do with MNE-C.

It’s more likely that this has something to do with MNE-Python’s saved fif files being slightly different than .fif files coming right out of a Elekta/Neuromag/MEGIN machine (because MNE-Python adds some functionality to the file format).

I would have a look at:

Not sure that it helps, but I hope so.