Borrar filtros
Borrar filtros

edfread and edfinfo throw an error

3 visualizaciones (últimos 30 días)
Zaid Shuqfa
Zaid Shuqfa el 11 de En. de 2021
Comentada: elif el 21 de Jun. de 2022
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 comentarios
Zaid Shuqfa
Zaid Shuqfa el 30 de Abr. de 2021
Have you found a solution yet? How do you read that file?
Demet
Demet el 8 de Dic. de 2021
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 .

Iniciar sesión para comentar.

Respuestas (1)

Demet
Demet el 25 de Feb. de 2022
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 .

Categorías

Más información sobre EEG/MEG/ECoG en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by