ET_PDToolkit/PDToolkit/@PDSubject/setLabel.m

12 lines
259 B
Mathematica
Raw Permalink Normal View History

2018-06-12 14:49:55 +02:00
function[objs] = setLabel(objs, type, pattern)
if nargin ==2
pattern = type;
end
for o = 1:length(objs)
for s = 1:length(objs(o).sessions)
% ignore type for now
objs(o).sessions(s) = objs(o).sessions(s).setLabel(pattern);
end
end