Hi, since an older version of waveclus is incorporated in the GUI, when choosing to detect both positive and negative spike waveforms it produces this error when encountering a channel with no spikes.
I found this issue in waveclus github and it seems that it has been corrected since 2018
Is there an option that you update the waveclus version used in your GUI?
Thank you for your very helpful software
** Error: [process_spikesorting_waveclus] Electrophysiology > Unsupervised Spike Sorting > WaveClus
** Line 30: Unrecognized function or variable 'intspikes'.
**
** Call stack:
** >int_spikes.m at 30
** >amp_detect.m at 123
** >Get_spikes.m>get_spikes_single at 180
** >Get_spikes.m at 130
** >process_spikesorting_waveclus.m>Run at 177
** >process_spikesorting_waveclus.m at 33
** >bst_process.m>Run at 229
** >bst_process.m at 36
** >panel_process1.m>RunProcess at 151
** >panel_process1.m at 26
** >gui_brainstorm.m>CreateWindow/ProcessRun_Callback at 785
** >bst_call.m at 28
** >gui_brainstorm.m>@(h,ev)bst_call(@ProcessRun_Callback) at 309
**
**