-
Notifications
You must be signed in to change notification settings - Fork 261
Description
Environment
- EEGLAB Version: 2025.1.0
- Biosig Plugin: 3.8.4
- MATLAB: R2024a
- OS: Windows 11
First Try: Loading EDF File with Default Settings
I'm trying to load an EDF+ file that has annotations/events using File > Import Data > Using EEGLAB functions and plugins > From EDF/EDF+/GDF files (Biosig toolbox)
Result: The file loads but creates 0 events even though the file has 2 annotations.
Trying mexSLOAD Option
I tried using mexSLOAD, so I checked the "Import using alternative BIOSIG method (mexSLOAD)" option.
Result: Error message
Error: Invalid MEX-file '...\eeglab2025.1.0\plugins\Biosig3.8.4\biosig\t200_FileAccess\mexSLOAD.mexw64':
The specified module could not be found.
However, the mexSLOAD file exists in the plugin:
>> which('mexSLOAD')
ans = 'C:\...\plugins\Biosig3.8.4\biosig\t200_FileAccess\mexSLOAD.mexw64'Expected Behavior
In MNE Python, I can open the same file and it correctly shows the 2 events/annotations I expect:
What Should Be Fixed?
I'm not sure what the correct solution is:
-
Should mexSLOAD be fixed?
-
Is there a workaround?
- Is there another way to import these annotations? This is for one of our customers and they do not want to use scripting but ideally only the GUI
Note:
The Biosig edfannot2evt() function exists and when called manually it does extract the 2 annotations correctly, but it seems this function is never called during normal import through pop_biosig(). Seems to be disabled in this commit: EEGKit/biosig-clone-240305@3017e2e
Test File
https://drive.google.com/file/d/18iMnNWznjAEdjl8OqbqMO3Knu1GYdyWK/view?usp=sharing
Thanks!
