Skip to content

EDF+ Annotations Not Imported & mexSLOAD Broken #898

@contsili

Description

@contsili

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:

MNE Python showing 2 annotations correctly imported

What Should Be Fixed?

I'm not sure what the correct solution is:

  1. Should mexSLOAD be fixed?

  2. 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions