Hi, there seems to be a problem with the new version split_conditions:
line 48 onwards:
%-select trials
%--------------------------------------------------------------------------
cl = D.condlist;
goodtrials = [];
for i = 1:numel(cl)
goodtrials{i} = indchantype(D, cl{i}, 'GOOD');
end
The variable cl contains conditions whereas indchantype requires a channel type ('MEG' etc.). The previous version uses pickconditions which no longer exists but it doesn't seem that inchantype performs the same function.
Any help much appreciated.
Thanks in advance.
Paul
|