arnodelorme / mffmatlabio

MFF Matlab file importer and exporter
GNU General Public License v3.0
11 stars 16 forks source link

Error when using the mffmatlabio plugin in fieldtrip #24

Closed lemonistas closed 4 years ago

lemonistas commented 4 years ago

Hi, I am getting an error message when trying to import an .mff file using the importer plugin in fieldtrip, I'm using the latest version from github. The error message reads: "undefined function or variable 'eeglab_options'. "

The only workaround I've found so far is starting EEGLAB so it creates 'eeglab_options', then the import in fieldtrip works. Screen Shot 2020-04-28 at 10 31 09

Please let me know what you think.

Best, Clemens

arnodelorme commented 4 years ago

I have fixed the issue in version 3.3

lemonistas commented 4 years ago

Unfortunately I'm still getting the very same error message with version 3.3

Bildschirmfoto 2020-04-28 um 22 30 03
arnodelorme commented 4 years ago

I have modified the function mff_import.m Would you mind to download this function and try again?

https://github.com/arnodelorme/mffmatlabio/blob/master/mff_import.m

Best wishes,

Arno

lemonistas commented 4 years ago

Thank you very much, Arno!

It works with the function you posted. :-)

Kind regards, Clemens

arnodelorme commented 4 years ago

Thank you Clemens