Code covered by the BSD License  

Highlights from
Statistical Learning Toolbox

from Statistical Learning Toolbox by Dahua Lin
Functions for statistical learning, pattern recognition and computer vision, covering many topics.

Description of writeinfo
Home > sltoolbox > fileio > @sllog > writeinfo.m

writeinfo

PURPOSE ^

WRITEINFO Writes information to logger without time-stamp

SYNOPSIS ^

function writeinfo(logger, varargin)

DESCRIPTION ^

WRITEINFO Writes information to logger without time-stamp

 $ Syntax $
   - writeinfo(logger, ...)

 $ Description $
   - writeinfo(logger, ...). The usage is the same as write, except that
     the time stamp becoming blank during writing.

 $ History $
   - Created by Dahua Lin, on Aug 13, 2006

CROSS-REFERENCE INFORMATION ^

This function calls:
  • write WRITE Writes message to a logger
This function is called by:
  • edl_batchexp EDL_BATCHEXP Performs Batch experiments according to scheme
  • edl_go EDL_GO The Top interface for doing experiments in EDL
  • edl_logerror EDL_LOGERROR Logs an error into logger

SOURCE CODE ^

0001 function writeinfo(logger, varargin)
0002 %WRITEINFO Writes information to logger without time-stamp
0003 %
0004 % $ Syntax $
0005 %   - writeinfo(logger, ...)
0006 %
0007 % $ Description $
0008 %   - writeinfo(logger, ...). The usage is the same as write, except that
0009 %     the time stamp becoming blank during writing.
0010 %
0011 % $ History $
0012 %   - Created by Dahua Lin, on Aug 13, 2006
0013 %
0014 
0015 if logger.timestamp
0016     tstr = datestr(now(), logger.timeformat);
0017     logger.timeformat = blanks(length(tstr));
0018     write(logger, varargin{:});
0019 else
0020     write(logger, varargin{:});
0021 end
0022

Generated on Wed 20-Sep-2006 12:43:11 by m2html © 2003

Contact us at files@mathworks.com