EEGLAB .DAT files not loading
이전 댓글 표시
I've loaded a .CNT file in EEGLAB successfully, however I need to add the .DAT file to use my data. Once the .CNT file was loaded I extracted epochs by selecting "Tools> extract epochs". I then go to "File > Import epoch info > From Neuroscan .DAT info file" And each time I'm left with an error "Expression or statement is incomplete or incorrect" "Error occurred in function pop_loaddat() at line 63)". When I open the .DAT file, I look at line 63 and nothing is unusual.
Please advise.
Thank you
댓글 수: 4
Christopher Davis
2016년 2월 9일
편집: Christopher Davis
2016년 2월 9일
The error you are getting is referring to EEGlab's function pop_loaddat, not the .dat file itself. Try:
open pop_loaddat
and look at line 63. It should read:
54 - if nargin < 2
55 - % ask user
56 - [filename, filepath] = uigetfile('*.DAT', 'Choose a DAT file -- pop_loaddat');
57 - drawnow;
58 - if filename == 0 return; end;
59 - result = inputdlg2( { strvcat('Code signifying no event in a trial ([]=none)', ...
60 - '(none=all latencies are imported)')}, ...
61 - 'Load Neuroscan DATA file -- pop_loaddat()', 1, {'1000'}, 'pop_loaddat');
62 - if length(result) == 0 return; end;
63 - no_rt = eval( result{1} );
64 - end;
This is what I have with EEGlab v13.5.4b. Are you at least getting the dialog popup that says
Code signifying no event in a trial ([]=none)
(none=all latencies are imported)
With 1000 as the default field entry?
Walter Roberson
2016년 2월 9일
Uggh, eval()'ing is a mistake far far more often than not.
Ren
2016년 2월 11일
Maram Zarzoor
2018년 3월 5일
I want answer this error please
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!