EEGLAB error: 'array exceeds maximum array size preference' due to high number of channels
6 次查看(过去 30 天)
显示 更早的评论
Hi,
using the EEGLAB loadeeg.m ( https://sccn.ucsd.edu/~arno/eeglab/auto/loadeeg.html )function for some of the .eeg files I am using apparently the number of channels exceeds 65000 (which I guess is not reasonable) and so I run into the following error:
Requested 65340x4287563198 (2087275.5GB) array exceeds maximum array size preference. Creation of arrays greater than
this limit may take a long time and cause MATLAB to become unresponsive. See array size limit or preference panel for
more information.
It's clear that matlab gives me this error trying to create such a big matrix. Does anyone know how to check what's in my .eeg file or what's the structure of it? I would like to take a look at the data of the file to figure out what might have gone wrong.
3 个评论
Walter Roberson
2018-2-7
This could happen with corrupt .eeg files. It could also potentially occur with .eeg files that were saved under a later version of the .eeg file format than the code you are using to load it.
Another possibility is that you are using R2016b or later and that somewhere in the code there is an operation between a row vector and a column vector, and that the operation is expected to error but under R2016b and later it instead returns a large array.
回答(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!