edfread and edfinfo throw an error
10 次查看(过去 30 天)
显示 更早的评论
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 个评论
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
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 .
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Discrete Multiresolution Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!