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

decindent

PURPOSE ^

INCINDENT Decreases the indent by a specified amount

SYNOPSIS ^

function logger = decindent(logger, d)

DESCRIPTION ^

INCINDENT Decreases the indent by a specified amount

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

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

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

CROSS-REFERENCE INFORMATION ^

This function calls:
This function is called by:

SOURCE CODE ^

0001 function logger = decindent(logger, d)
0002 %INCINDENT Decreases the indent by a specified amount
0003 %
0004 % $ Syntax $
0005 %   - logger = decindent(logger, d)
0006 %
0007 % $ Arguments $
0008 %   - logger:       the target logger
0009 %   - d:            the number of levels of indent to be decreased
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