function y=subsref(a,S)
% subsref - subsref for bufferdata

switch S(1).type
case '()', y=paren(a,S(1));
end

if length(S)>1, y=subsref(y,S(2:end)); end


