I have been not able to load an EEG file in .e format (from Nicolet) using MATLAB 2017b and excelent values of CPU usage and physical memory.
After creating a new protocol with ‘Yes, use protocol’s default anatomy’ and 'No, use one channel file per acquisition run (MEG/EEG)', creating a new subject, and clicking on ‘Review raw file’ (I also tried 'Import MEG/EEG', an error message appeared.
This wrapper for Brainstorm around the Nicolet reader was developed without any documentation, based on the reverse engineering of a few example files. I am not surprised it is not capable of handling all the .e recordings.
Would it be possible for you to share with me an example file? A short .e file that you cannot read in Brainstorm and that doesn’t contain any sensitive patient information?
Zip it, upload it somewhere (dropbox, google drive, one drive…) and send me the link a private message using this forum.
Otherwise, you’d have to debug it yourself: place a breakpoint a line 92 and try to understand what are the issues in the code I wrote:
Thank you for the example file.
There was indeed a bug in the Brainstorm reader.
The channels with lower sampling rates are currently ignored because Brainstorm cannot handle signals with multiple sampling frequency at the moment, but this was not done correctly. I think I fixed the issue.