function [r,g,b] = myname(l)

if nargout==2
  error('loadframe: requires either exactly 1 or 3 output arguments')
end%if

if nargout==1
  y= .35*loadframer(l) + .5*loadframer(l) + .15*loadframeb(l);
  % for now just use green (simplicity)     y=loadframeg(l);
end%if

r = loadframer(l);
g = loadframeg(l);
b = loadframeb(l);

