Problem Importing .smr Spike2 data

Hi,

I'm new to brainstorm. I have used it successfully, to analyze human EEG data from NeuroScan system.

I am trying to analyze ECoG data from animals, and trying to link an old 32 bit Spike2 raw data file (type .smr). I get a num2str error message, while trying to review the raw file.

I'm using MATLAB 2020b. The latest brainstorm update (Feb 8th, 2020), as of date of post.

Any idea what problem I am running into?

This is a bug in the file reader.
Do you have a small example .smr file you could share for debugging?
(upload it somewhere and post the download link there)
Thanks

Hi Francois,

Sorry for the delay. Thanks so much for reaching out! Below is a google drive link to a data file.

https://drive.google.com/file/d/1F_hHu50kMxqVQCoxMh9qtCVjGYAz73uM/view?usp=sharing

Thanks again for your help!

Ray

Can you please open the rights for the download link?

Sure, Francois. Sorry, about that. Should be all good now.

Thanks again,

Ray

Thanks for the example file.
Bug fixed, update Brainstorm to get the update (menu Update > Update Brainstorm).

https://github.com/brainstorm-tools/brainstorm3/commit/ab20c6b78f785058f048a4d5757f79eccfac0671

Thank you, Francois! It works well now.

Ray