eeglab icon indicating copy to clipboard operation
eeglab copied to clipboard

"mexsload not found in path" Issue

Open alparslanonder opened this issue 1 year ago • 10 comments

Hi, While I was trying to import my edf file (EDF-C) I faced with this problem. I removed then loaded the latest version of Biosig, try lots of things but I keep having this problem, how can I solve it?

Thanks a lot.

image

alparslanonder avatar Jul 17 '23 14:07 alparslanonder

Do you have windows. If this is the case, then mexSLOAD should be installed. If you do not have windows then it is more complex. https://sourceforge.net/p/biosig/wiki/FAQ/

arnodelorme avatar Aug 08 '23 19:08 arnodelorme

Closing this for now. I updated the help message.

arnodelorme avatar Feb 09 '24 02:02 arnodelorme

Do you have windows. If this is the case, then mexSLOAD should be installed. If you do not have windows then it is more complex. https://sourceforge.net/p/biosig/wiki/FAQ/

Dear Arno, I have a MacOS system and followed the steps but I was not able to open an EDF file with mexSLOAD. It is of my interest because events are not loaded with the default settings.

lopezchau avatar May 04 '24 19:05 lopezchau

You do not need mexsload to load EDF events. You can use other options when calling the biosig function. For example, try importing with annotation off.

EEG = pop_biosig('file.edf', 'importannot', 'off');
[ALLEEG EEG CURRENTSET] = eeg_store(ALLEEG, EEG);
eeglab redraw

arnodelorme avatar May 04 '24 20:05 arnodelorme

You do not need mexsload to load EDF events. You can use other options when calling the biosig function. For example, try importing with annotation off.

EEG = pop_biosig('file.edf', 'importannot', 'off');
[ALLEEG EEG CURRENTSET] = eeg_store(ALLEEG, EEG);
eeglab redraw

Thank you so much for your answer! Still no luck while importing events after I uncheck the annotations option. After I imported the file with no events I use the "Import event info" from the menu, but more than 300k of events are imported after a long time.

When I try other import plugins like import_edf the events are imported normally but I get an error that says there is another edfread function and I need to remove it from the path.

Sorry if the question is too basic, but these are my first steps with EEGLab.

Captura de pantalla 2024-05-04 a la(s) 3 32 36 p  m

lopezchau avatar May 04 '24 20:05 lopezchau

Can you share your EDF file?

arnodelorme avatar May 04 '24 20:05 arnodelorme

Can you share your EDF file?

Absolutely Arno. It would be such an honor. I am new to EEGLab and having support from you is unbelievable.

Thank you so much. Greetings from Peru.

PS: Just to let you know that data have being acquired from a Neuron Spectrum 64. It is a russian made amplifier. We are planning to do some research with it and a same brand TMS device (TMS-EEG).

https://neurosoft.com/en/catalog/eeg/neuron-spectrum-64#overview

EDF File: https://drive.google.com/file/d/1--m7MZvoHEpzg_sh_gTh_adeqhgh22Ou/view?usp=sharing

lopezchau avatar May 04 '24 20:05 lopezchau

@lopezchau Ciao! Ho lo stesso identico problema... hai risolto?

Lucreziadimarino avatar Oct 20 '24 19:10 Lucreziadimarino

As I experienced, the exact problem was in the Headers of the .edf files, with a pipeline I solved the issue about the headers and I did not have the same issue again.

alparslanonder avatar Oct 20 '24 19:10 alparslanonder

@lopezchau come hai fatto a risolvere? perchè io non riesco in alcun modo a visualizzare gli eventi nonostante io abbia la certezza che ci siano. Sono una studentessa che sta eseguendo un progetto sperimentale per la tesi e non sono riuscita ancora a risolvere

Lucreziadimarino avatar Oct 20 '24 19:10 Lucreziadimarino