필터 지우기
필터 지우기

edfread and edfinfo throw an error

조회 수: 3 (최근 30일)
Zaid Shuqfa
Zaid Shuqfa 2021년 1월 11일
댓글: elif 2022년 6월 21일
When using edfinfo and edfread with some files (the other files are OK) an error pops up as shown below:
>>edfinfo('S002R06.edf')
Index exceeds the number of array elements (0).
Error in signal.internal.edf.readAnnotations (line 34)
d_idx = find(temp(1:o_idx(1)) == char(21));
Error in edfinfo/readHeader (line 239)
tempDuration] = signal.internal.edf.readAnnotations(tAnnotations);
Error in edfinfo (line 173)
obj = readHeader(obj, filename, fid, fileInfo);
I have the following version info:
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.9.0.1538559 (R2020b) Update 3
MATLAB License Number: DEMO
Operating System: Microsoft Windows 10 Education Version 10.0 (Build 18363)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.9 (R2020b) Trial 8368984
Simulink Version 10.2 (R2020b) Trial 8368984
Control System Toolbox Version 10.9 (R2020b) Trial 8368984
Curve Fitting Toolbox Version 3.5.12 (R2020b) Trial 8368984
DSP System Toolbox Version 9.11 (R2020b) Trial 8368984
Image Processing Toolbox Version 11.2 (R2020b) Trial 8368984
Instrument Control Toolbox Version 4.3 (R2020b) Trial 8368984
Optimization Toolbox Version 9.0 (R2020b) Trial 8368984
Parallel Computing Toolbox Version 7.3 (R2020b) Trial 8368984
Signal Processing Toolbox Version 8.5 (R2020b) Trial 8368984
Statistics and Machine Learning Toolbox Version 12.0 (R2020b) Trial 8368984
Symbolic Math Toolbox Version 8.6 (R2020b) Trial 8368984
  댓글 수: 3
Zaid Shuqfa
Zaid Shuqfa 2021년 4월 30일
Have you found a solution yet? How do you read that file?
Demet
Demet 2021년 12월 8일
Hello,
I also had the same problem and I couldn't solve it. But I could open.edf file with brainstorm. You can add it matlab with add-ons . When you run brainstorm() It will ask account you can create new account then you can open the GUI. In file section create new protocol and create subjects.You can find more information here .

댓글을 달려면 로그인하십시오.

답변 (1개)

Demet
Demet 2022년 2월 25일
Hello,
I also had the same problem and I could open.edf file with brainstorm. You can add it matlab with add-ons . When you run brainstorm() It will ask account you can create new account then you can open the GUI. In file section create new protocol and create subjects.You can find more information here .
  댓글 수: 1
elif
elif 2022년 6월 21일
thanks for information

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 EEG/MEG/ECoG에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by