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!