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 slsharedisp_decindent
Home > sltoolbox > utils > slsharedisp_decindent.m

slsharedisp_decindent

PURPOSE ^

SLSHAREDISP_DECINDENT Decreases the indent of the displayer

SYNOPSIS ^

function slsharedisp_decindent(nsteps)

DESCRIPTION ^

SLSHAREDISP_DECINDENT Decreases the indent of the displayer

 $ Syntax $
   - slsharedisp_decindent()
   - slsharedisp_decindent(nsteps)

 $ Description $
   - slsharedisp_decindent() decreases the indent by one step.

   - slsharedisp_decindent(nsteps) decreases the indent by specified
     number of steps.

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

CROSS-REFERENCE INFORMATION ^

This function calls:
This function is called by:
  • slkmeansex SLKMEANSEX Performs Generalized K-means
  • sliterproc SLITERPROC Runs a general iterative process
  • slfmm SLFMM Learns a Finite Mixture Model (FMM)

SOURCE CODE ^

0001 function slsharedisp_decindent(nsteps)
0002 %SLSHAREDISP_DECINDENT Decreases the indent of the displayer
0003 %
0004 % $ Syntax $
0005 %   - slsharedisp_decindent()
0006 %   - slsharedisp_decindent(nsteps)
0007 %
0008 % $ Description $
0009 %   - slsharedisp_decindent() decreases the indent by one step.
0010 %
0011 %   - slsharedisp_decindent(nsteps) decreases the indent by specified
0012 %     number of steps.
0013 %
0014 % $ History $
0015 %   - Created by Dahua Lin, on Aug 29, 2006
0016 %
0017 
0018 global GLOBAL_SHARE_DISPLAYER;
0019 
0020 if isempty(GLOBAL_SHARE_DISPLAYER)
0021     error('sltoolbox:gdisperr', ...
0022         'The global displayer is not open');
0023 end
0024 
0025 if nargin == 0
0026     nsteps = 1;
0027 end
0028 
0029 GLOBAL_SHARE_DISPLAYER(end).indent = ...
0030     GLOBAL_SHARE_DISPLAYER(end).indent - nsteps;

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

Contact us at files@mathworks.com