How to choose the value of 'blockread' parameter when loading a CNT file in EEGLAB?
8 views (last 30 days)
Show older comments
Hello! I'm new at using EEGLAB in MATLAB and I'm having trouble loading a CNT file of a EEG recording I made in eego64. When I try loading it through the EEGLAB interface (File -> Import Data -> Using EEGLAB functions and plugins -> From Neuroscan .CNT file) it opens this window.
When I tried only pressing 'Ok', there was the following error:
After trying out some stuff, I tried setting the 'blockread' parameter to 1, as some information I looked up said it was the more general approach. When I did this, the file loaded correctly. However, the problem was that the CNT file ended up having 10532 channels (next picture). (I also think the other variables are not correct)
This makes no sense because the EEG recording was made with a 64 channel cap, so it's supposed to have 64 channels. Every tutorial I've read and seen says that in the EEG variable, the channel number is the number of channels the recording was made from.
So now I'm wondering if the 'blockread' parameter is the one that I'm setting it wrong and EEGLAB is incorrectly reading the CNT file or if there's something else I'm missing. It might also be that the CNT file is wrong or something.
0 Comments
Answers (1)
Vatsal
on 31 Jan 2024
Hi,
One potential cause of the error you are encountering could be that the CNT file you are working with is an ANT file rather than a Neuroscan file. The “pop_loadcnt” function may be unable to read the file if it is not in the expected format. If your CNT files are from ANT, installing the ANT EEGLAB plugin could provide a solution.
You can download the plugin from the following link: http://download.ant-neuro.com/matlab/
For further insights and details, you may find the following resources useful:
I hope this helps!
0 Comments
See Also
Categories
Find more on EEG/MEG/ECoG in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!