Simply EEGLAB

Writing an EEGLAB plugin

Station 10 · Lesson 4 · EEGLAB 2026.1

In the GUI

  1. FileLoad existing dataset
  2. PlotChannel varianceOk 3

Script

eeglab nogui
eeglabRoot = fileparts(which('eeglab'));
EEG = pop_loadset('eeglab_data.set', fullfile(eeglabRoot, 'sample_data'));
assert(exist('pop_chanvar', 'file') == 2, 'pop_chanvar not found: check the plugins folder');
com = pop_chanvar(EEG, 3);
disp(com);   % pop_chanvar(EEG, 3);
eval(com);

Which value should I choose?

SettingValue in this lesson
Folder locationplugins inside the EEGLAB folder
Folder namechanvar1.0
Data checktrystrs.check_data
Historycatchstrs.add_to_hist
Highlight thresholdz = 3

Full lesson: https://simplyeeglab.pages.dev/en/lesson/write-plugin/

Content license: CC BY-NC-SA 4.0 · MIT (code)

An independent learning site, not affiliated with EEGLAB or SCCN.