Installation
How to install EyeSort in EEGLAB
Last updated: Mon Jan 19 2026 00:00:00 GMT+0000 (Coordinated Universal Time)
Installation
EyeSort is an EEGLAB plugin. Follow these steps to install it.
Prerequisites
Before installing EyeSort, ensure you have:
- MATLAB installed (tested with MATLAB R2018b and later)
- EEGLAB installed and working
- Download from https://sccn.ucsd.edu/eeglab/
- Tested with EEGLAB 2021.0 and later
Installation Steps
Step 1: Download EyeSort
Download the latest release from GitHub:
You can download either:
- The source code
.zipor.tar.gz - Or clone the repository:
git clone https://github.com/emac-usf/EyeSort.git
Step 2: Copy to EEGLAB plugins directory
- Locate your EEGLAB installation directory
- Navigate to the
plugins/subdirectory - Copy the
EyeSortfolder intoplugins/
Your directory structure should look like:
eeglab/
├── plugins/
│ ├── EyeSort/
│ │ ├── eegplugin_eyesort.m
│ │ ├── functions/
│ │ ├── pop_functions/
│ │ └── ...
│ └── (other plugins)
Step 3: Launch EEGLAB
- Open MATLAB
- Navigate to your EEGLAB directory
- Run
eeglabat the MATLAB command prompt
EyeSort will automatically add its subfolders to the MATLAB path when EEGLAB starts.
Step 4: Verify Installation
After EEGLAB opens, check that the EyeSort menu appears in the EEGLAB toolbar:
EEGLAB → EyeSort
You should see menu items like:
-
- Load EEG Dataset(s)
-
- Setup Interest Areas
-
- Eye-Tracking Event Labeling
- Generate BINLISTER BDF File
- Save Labeled Dataset
- Help
If you see the EyeSort menu, installation was successful!
Troubleshooting
EyeSort menu doesn't appear
Possible causes:
-
EyeSort folder not in plugins directory
- Ensure
EyeSort/is directly insideeeglab/plugins/ - Don't nest it in additional subdirectories
- Ensure
-
Multiple copies of EyeSort
- Check your MATLAB path for duplicate EyeSort installations
- EyeSort will use the first copy found on the path
- Remove duplicate installations
-
EEGLAB needs restart
- Close EEGLAB and MATLAB completely
- Reopen MATLAB and run
eeglabagain
Permission errors
If you get permission errors when copying files:
- On macOS/Linux: You may need to use
sudoor change directory permissions - On Windows: Run MATLAB as Administrator or adjust folder security settings
Next Steps
Once EyeSort is installed:
- Read the First Run guide to understand the basic workflow
- Download the sample dataset to test EyeSort
- Follow a complete tutorial with your own data
Updating EyeSort
To update to a newer version:
- Download the latest release
- Delete or backup your old
EyeSort/folder inplugins/ - Copy the new
EyeSort/folder intoplugins/ - Restart EEGLAB
Your saved configuration files (.mat files) will be preserved and should work with newer versions.