Hi,
I'm using spm_eeg_epochs with a script. I can't first use the GUI because the triggers on the dataset are all the same number, and the correct condition label comes a separate text file.
I'm getting an error when I ask to review individual trials in line 233 of spm_eeg_definetrial
??? Error using ==> cellstr at 34
Input must be a string.
Error in ==> listdlg at 138
liststring=cellstr(liststring);
Error in ==> spm_eeg_definetrial at 233
[indx OK] = listdlg('ListString', eventstrings, 'SelectionMode', 'multiple', 'InitialValue', ...
Does this mean that the variable 'eventstrings' is not defined properly?
In my case, this variable is a 10504x1 cell
for example,
K>> eventstrings{1}
ans =
'1' ' Label: ' 'LP251' ' Time (sec): ' '9.936'
Even when I choose NOT to review the files, I am not sure epoching actually happens. I let it run for an hour now and it hadn't finished epoching 1 session of 1 subject. I'll let it run for longer now, but perhaps you'd be able to help with the first question?
Thanks in advance,
Deborah
|