Installing mne on matlab

  • MNE-Python version: 0.23.0
  • operating system: MacOS

I tried to run some of the mne functions on matlab (i.e., mne_read_stc_file) but I received the error

Undefined function or variable 'mne_read_stc_file1.

I tried to read [this page

"](MNE-MATLAB documentation — MNE 0.23.0 documentation) and understand how shoudl I install it on matlab, but I am still confused.

Should I download the mne package and put it on some directory? If so, from where should I download it?
I have already installed it for python (I guess using pip or something but I do not remember), however, I still do not know how should I find MNE_ROOT that was explained in that page.

$MNE_ROOT/share/matlab

I appreciate if you can help me with more details.

Hello, you need to install MNE-C, not MNE-Python, to use MNE-Matlab. You can find information on how to install it here:

https://mne.tools/stable/install/mne_c.html

Best wishes,
Richard

1 Like