www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/@xregGui/@scrollaxes/clear.m

    function clear(h)
%CLEAR Clear all children from the scrollaxes
%
%   CLEAR(H) delete all of the current children of the scrollaxes.

%   Copyright 2008-2010 The MathWorks, Inc.

delete(get(h.AxesHandle, 'Children'));