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.

slsharedisp_incindent(nsteps)
function slsharedisp_incindent(nsteps)
%SLSHAREDISP_INCINDENT Increases the indent of the displayer
%
% $ Syntax $
%   - slsharedisp_incindent()
%   - slsharedisp_incindent(nsteps)
%
% $ Description $
%   - slsharedisp_incindent() increases the indent by one step.
%
%   - slsharedisp_incindent(nsteps) increases the indent by specified
%     number of steps.
%
% $ History $
%   - Created by Dahua Lin, on Aug 29, 2006
%

global GLOBAL_SHARE_DISPLAYER;

if isempty(GLOBAL_SHARE_DISPLAYER)
    error('sltoolbox:gdisperr', ...
        'The global displayer is not open');
end

if nargin == 0
    nsteps = 1;
end

GLOBAL_SHARE_DISPLAYER(end).indent = ...
    GLOBAL_SHARE_DISPLAYER(end).indent + nsteps;
    

Contact us at files@mathworks.com