Problem with WaveClus

Hi,
I am encountering an issue with WaveClus. The program runs without any errors, but when I try to click on the panel, I get the following error:

Error: Line 307: Array indices must be positive integers or logical values.
**
** Call stack:
** >panel_spikes.m>OpenFigure at 307
** >panel_spikes.m>OpenSpikeFile at 292
** >panel_spikes.m at 27
** >tree_callbacks.m at 320
** >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

Additionally, in the "Events" tab, the 'Spikes' appear but with zero elements. I am certain there are spikes in my recordings. Could you help me understand what might be causing this issue?

Hi @AlicePerelli, could you provide us with more details?

How is the data added in Brainstorm? How are the spikes identified?
Please add screenshots when pertinent.

Moreover, did you encounter any trouble by following the electrophysiology tutorials?
https://neuroimage.usc.edu/brainstorm/Tutorials#Single.2FMulti-Unit_Electrophysiology