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 incindent
Home > sltoolbox > fileio > @sllog > incindent.m

incindent

PURPOSE ^

INCINDENT Increases the indent by a specified amount

SYNOPSIS ^

function logger = incindent(logger, d)

DESCRIPTION ^

INCINDENT Increases the indent by a specified amount

 $ Syntax $
   - logger = incindent(logger, d)

 $ Arguments $
   - logger:       the target logger
   - d:            the number of levels of indent to be increased

 $ History $
   - Created by Dahua Lin, on Aug 12nd, 2006

CROSS-REFERENCE INFORMATION ^

This function calls:
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 logger = incindent(logger, d)
0002 %INCINDENT Increases the indent by a specified amount
0003 %
0004 % $ Syntax $
0005 %   - logger = incindent(logger, d)
0006 %
0007 % $ Arguments $
0008 %   - logger:       the target logger
0009 %   - d:            the number of levels of indent to be increased
0010 %
0011 % $ History $
0012 %   - Created by Dahua Lin, on Aug 12nd, 2006
0013 %
0014 
0015 newindent = max(logger.indent + d, 0);
0016 
0017 logger.indent = newindent;

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

Contact us at files@mathworks.com