Closed ljylxl closed 2 years ago
Hi, did you add all to the matlab path with all the sub-folders?
addpath('E:\SpikeSorting\WaveClus3\wave_clus-database\Simulator') Hi, I did the "addpath" as shown above. and re "load data"
Error using readInData (line 128) File type '.mat' isn't supported
For the installation of waveclus, did you added to the path all the sub-folders of waveclus?
addpath('E:\SpikeSorting\WaveClus3\wave_clus-master') This is what I did, do you mean that each sub-folder needs to be added? e.g., 'E:\SpikeSorting\WaveClus3\wave_clus-master\figs' or 'E:\SpikeSorting\WaveClus3\wave_clus-master\SPC'?
yes, you can do it easily from a Matlab buttom or using addpath(genpath('E:\SpikeSorting\WaveClus3\wave_clus-master')) Remember to remove the hidden folder .git from wave_clus-master if you do that (otherwise you will add a lot of git folders to your path).
OK. it works now. Thank you
Hi, Thank you for sharing this spikes sorting code. I am trying to figure out fulfilling a simple scenario: I have the code GUI ready. I have the Simulator database ready in directory 'E:\SpikeSorting\WaveClus3\wave_clus-database\Simulator'. In GUI I clicked "load data" and find one of the .mat file to load. I got the error: Error using readInData (line 128) File type '.mat' isn't supported.
I also tried to load the data in the other way: To use the batch functions, type Get_spikes('filename.ext'), where .ext is a file extension (eg. .mat), for the spike detection; this will save a file filename_spikes.mat in the current directory. Subsequently, run Do_clustering('filename_spikes.mat') to do the sorting. You can process multiple files at once or specific channels of multiple files.
Similar error.
Would you please explain these two issues and let me know how to use it in a right way? Thank you