# Problems installing MNE-C (with Fieldtrip)

**URL:** <https://mne.discourse.group/t/problems-installing-mne-c-with-fieldtrip/3078>\
**Category:** Support & Discussions\
**Tags:** installation\
**Created:** [May 1, 2021, 5:39am UTC](https://mne.discourse.group/t/problems-installing-mne-c-with-fieldtrip/3078 "2021-05-01T05:39:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jlil](https://avatars.discourse-cdn.com/v4/letter/j/e274bd/32.png) [@jlil](https://mne.discourse.group/u/jlil)\
**Post date:** [May 1, 2021, 5:39am UTC](https://mne.discourse.group/t/problems-installing-mne-c-with-fieldtrip/3078/1 "2021-05-01T05:39:36Z")

</div>

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](https://mne.tools/stable/install/mne_c.html) (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!

---

<div class="post-metadata">

**Author:** ![sappelhoff](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/sappelhoff/32/3276_2.png) [@sappelhoff](https://mne.discourse.group/u/sappelhoff)\
**Post date:** [June 12, 2021, 10:08am UTC](https://mne.discourse.group/t/problems-installing-mne-c-with-fieldtrip/3078/2 "2021-06-12T10:08:59Z")

</div>

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:

- [GitHub - mne-tools/mne-matlab: MNE scripting with Matlab](https://github.com/mne-tools/mne-matlab)
- [fieldtrip/external/mne at master · fieldtrip/fieldtrip · GitHub](https://github.com/fieldtrip/fieldtrip/tree/master/external/mne)

Not sure that it helps, but I hope so.
