www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/@mbctree/@treenode/collapse.m

    function collapse(node)
%COLLAPSE Request that the tree collapse this node.
%
%   COLLAPSE(NODE)

%   Copyright 2006 The MathWorks, Inc.

if ~isempty( node.Tree )
    node.Tree.collapseNode( node );
end