When trying to run ICLabel in EEGLAB (version 2024.2), an error appears:
EEGLAB error in function run_ICL0 at line 30:
Unable to resolve the name 'dagnn_bc.DagNN.loadobj'.
I work under MATLAB R2024b and I use EEGLAB 2024.2.
My goal is to use ICLabel to classify ICA components.
The error occurs in the run_ICL.m file, where the code attempts to load a neural network with:
netStruct = load(fullfile(pluginpath, ['netICL' version]));
try
net = dagnn.DagNN.loadobj(netStruct);
wrestling
net = dagnn_bc.DagNN.loadobj(netStruct);
end
The error appears to indicate that dagnn_bc.DagNN.loadobj was not found.