function s = display(t)
% Generic object display method.
%
% Author: Cengiz Gunay <cgunay@emory.edu>, 2004/08/04
% Copyright (c) 2007 Cengiz Gunay <cengique@users.sf.net>.
% This work is licensed under the Academic Free License ("AFL")
% v. 3.0. To view a copy of this license, please look at the COPYING
% file distributed with this software or visit
% http://opensource.org/licenses/afl-3.0.php.
num = size(t);
if max(num) > 1
s = [ '[' sprintf('%dx', num(1:(end-1))) num2str(num(end)) ' ' class(t) ']' ];
disp(s);
struct(t(1))
else
s = sprintf('%s', t.trace.id);
disp(s);
struct(t)
end