How to choose the value of 'blockread' parameter when loading a CNT file in EEGLAB?
2 ビュー (過去 30 日間)
古いコメントを表示
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1349144/image.png)
When I tried only pressing 'Ok', there was the following error:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1349149/image.png)
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)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1349154/image.png)
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 件のコメント
回答 (1 件)
Vatsal
2024 年 1 月 31 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で EEG/MEG/ECoG についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!