view m-toolbox/classes/@time/char.m @ 45:a59cdb8aaf31
database-connection-manager
Merge
author
Daniele Nicolodi <nicolodi@science.unitn.it>
date
Tue, 06 Dec 2011 19:07:22 +0100 (2011-12-06)
parents
f0afece42f48
children
line source
+ − % CHAR Convert a time object into a string
+ − %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ − %
+ − % DESCRIPTION: Convert a time object into a string.
+ − %
+ − % CALL: str = char(time)
+ − %
+ − % VERSION: $Id: char.m,v 1.17 2011/02/18 16:48:55 ingo Exp $
+ − %
+ − %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ −
+ − function str = char(varargin)
+ −
+ − % collect all time objects
+ − objs = [varargin{:}];
+ −
+ − % format
+ − str = format(objs);
+ − end