12 lines
303 B
Mathematica
12 lines
303 B
Mathematica
|
function[objs] = setLabelRelativeToLabel(objs, target, pattern, time)
|
||
|
|
||
|
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).setLabelRelativeToLabel(type, pattern);
|
||
|
end
|
||
|
end
|