Importing EEG edf to matlab

43 ビュー (過去 30 日間)
Mubeen Janmohamed
Mubeen Janmohamed 2020 年 12 月 31 日
回答済み: Daniel Gallagher 2021 年 6 月 2 日
Hi guys having this error message when importing EEG/EDF format into matlab. What can I do. Complete newbie.
  2 件のコメント
Image Analyst
Image Analyst 2020 年 12 月 31 日
That is, attach the data you forgot to attach, after reading the link above.
And did you download and install the mex file from that web site like it said to?
What is pop_biosig()? Is it a custom function you or someone else wrote? Attach your code if you want someone to try to run it.
Daniel Gallagher
Daniel Gallagher 2021 年 5 月 6 日
Hi Mubeen,
I'm struggling with the same problem now. Did you ever find a solution?
I checked the link given by Athul, I've tried installing mexSLOAD.mex, and I've pored over all the documentation I can, but I haven't been able to crack it. Moreover, this error arises from only one EEG dataset (that was taken in exactly the same way as all my other datasets), which strikes me as quite odd. Anyway, I'd really appreciate it if you could tell me what ended up working for you!

サインインしてコメントする。

回答 (2 件)

Athul Prakash
Athul Prakash 2021 年 1 月 5 日
Hi Mubeen,
I presume you're using the pro_biosig.m file found here: https://github.com/donnchadh/biosig/blob/master/biosig/eeglab/pop_biosig.m
The issue seems specific to the code the owner of the repo has written ("index exceeds the number of array elements"). However, the error message itself warns you about an installation and the issue could likely be from a missing file, so you should install mesSLOAD.mex as suggested.
You may find more help in the issues section of the repo you're using.
Hope it helps!

Daniel Gallagher
Daniel Gallagher 2021 年 6 月 2 日
I had the same problem. In my case, the error only came up with one of my EEG datasets (which was recorded the same way as all the others). This eventually fixed it for me:
From the EEGLAB GUI, File > Manage EEGLAB Extensions > Biosig 7.3.5, then click "Install/Update".
I had previously tried updating source files (like edfannot2evt.m) manually, but I think doing so caused some problem with path (even though I tried manually updating that as well...). In any case, this manual updating didn't do the trick for me. But going through the GUI did, so maybe this will work for some others who face the same problem.

カテゴリ

Help Center および File ExchangeEEG/MEG/ECoG についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by