Dear Brainstorm experts,
We're currently using GEDAI as a plugin to denoise our EEG data in Brainstorm, and it works really well most of the time. However, the plugin could not process EEG data contained non-EEG channels. After further investigation, we discovered that they fixed this issue in GEDAI version 1.5, but Brainstorm can not fetch this update (the newest version of GEDAI in brainstorm is 3b613b8c, which is not v1.5 on github).
After manually install GEDAI v1.5 in Brainstorm, the denoising process runs perfectly, and we get the result on a pop-up window.
However, when double-clicking the result in Brainstorm, we get an error:
** Error: Line 942: error using double
** could not convert from struct to double.
**
** Call stack:
** >bst_memory.m>LoadRecordingsMatrix at 942
** >bst_memory.m>GetRecordingsValues at 2123
** >bst_memory.m at 73
** >figure_timeseries.m>GetFigureData at 2768
** >figure_timeseries.m>PlotFigure at 2853
** >figure_timeseries.m at 42
** >view_timeseries.m at 274
** >tree_callbacks.m at 274
** >bst_call.m at 28
** >panel_protocols.m>CreatePanel/protocolTreeClicked_Callback at 125
** >bst_call.m at 28
** >panel_protocols.m>@(h,ev)bst_call(@protocolTreeClicked_Callback,h,ev) at 75
**
These lines in bst_memory.m are:
if ~isempty(DataMat.F)
GlobalData.DataSet(iDS).Measures.F = double(DataMat.F);end
In correct situation, DataMat.F should be a matrix in the shape of channel number × time points. We discovered that DataMat.F is a struct, and contains fields as follows:
There seems to be a small problem when unpacking results returned by GEDAI.
my environment:
-
Brainstorm version: 16-Mar-2026 (latest release at the posting time)
-
MATLAB version: R2024b
-
Operating System: Windows 11
-
GEDAI version: v1.5 (manual installation, latest release at the posting time)
I would greatly appreciate it if you could look into this issue. I'm happy to provide additional details if needed.
Best regards,
Jiameng

