function t = toc
%TOC Read the stopwatch timer.
%   TIC and TOC functions work together to measure elapsed time.
%   TOC, by itself, displays the elapsed time (in seconds) since TIC
%   was used. t = TOC; saves the elapsed time in t as a double scalar.
%
%   See also TIC, CPUTIME.

%   Copyright 1984-2004 The MathWorks, Inc.
%   $Revision: 5.12.4.4 $  $Date: 2004/08/25 19:09:16 $
%   Built-in function.

if nargout == 0
  builtin('toc', varargin{:});
else
  [varargout{1:nargout}] = builtin('toc', varargin{:});
end
