wave_clus
wave_clus copied to clipboard
File load failure
Dear Team,
I am unable to load my dataset to sort spikes. I have a .mat file and the wave_clus folder with the subfolders has been added to the path. Following is the error I see:
Error in [wave_clus>load_data_button_Callback](matlab:matlab.internal.language.introspective.errorDocCallback('wave_clus>load_data_button_Callback', '/MATLAB Drive/wave_clus/wave_clus.m', 188)) ([line 188](matlab: opentoline('/MATLAB Drive/wave_clus/wave_clus.m',188,0))) data_handler = readInData(handles.par);
Error in [gui_mainfcn](matlab:matlab.internal.language.introspective.errorDocCallback('gui_mainfcn', '/MATLAB/toolbox/matlab/guide/gui_mainfcn.m', 95)) ([line 95](matlab: opentoline('/MATLAB/toolbox/matlab/guide/gui_mainfcn.m',95,0))) feval(varargin{:});
Error in [wave_clus](matlab:matlab.internal.language.introspective.errorDocCallback('wave_clus', '/MATLAB Drive/wave_clus/wave_clus.m', 63)) ([line 63](matlab: opentoline('/MATLAB Drive/wave_clus/wave_clus.m',63,0))) gui_mainfcn(gui_State, varargin{:});
Error while evaluating UIControl Callback.
Please help.
I have changed the %par.detection to both and added my sampling rate in "set parameters" after seeing one of your FAQs.
Hi, I don't have a clue the errors look odd and incomplete. That are all the error messages you got? were you able to use waveclus for others files? which version of Matlab do you have?
Hi, Thank you for the response. Those are all the errors I got the previous time. Now, it says only 15 spikes detected but shows nothing. I am using MATLAB 2021b.. I couldn't get wave_clus to run any of my files. Attached is the screenshot of error window.https://drive.google.com/file/d/1V-ACsQEWzgoPI3VFK0k1I9-b8_BWce2t/view?usp=sharing

hope the error is visible here.
OK, now it makes sense. you can play around with two parameters:
- par.stdmin if you reduce it, it will detect more spikes (specially if you have high noise)
- par.stdmax if you increase it, it will remove less spikes (specially if you have low noise)