sccn / eeglab

EEGLAB is an open source signal processing environment for electrophysiological signals running on Matlab and developed at the SCCN/UCSD
https://eeglab.ucsd.edu/
Other
601 stars 241 forks source link

"mexsload not found in path" Issue #657

Open alparslanonder opened 1 year ago

alparslanonder commented 1 year ago

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

arnodelorme commented 1 year ago

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 commented 8 months ago

Closing this for now. I updated the help message.

lopezchau commented 5 months ago

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.

arnodelorme commented 5 months ago

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
lopezchau commented 5 months ago

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
arnodelorme commented 5 months ago

Can you share your EDF file?

lopezchau commented 5 months ago

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

Lucreziadimarino commented 6 days ago

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

alparslanonder commented 6 days ago

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.

Lucreziadimarino commented 6 days ago

@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