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

    function stackRemovePointer(pr,fH,ID)
%STACKREMOVEPOINTER Remove a pointer from the stack
%
%   STACKREMOVEPOINTER(PR, H, ID) removes the pointer that returned ID
%   when set.  The figure pointer is kept at the data which is at the top
%   of the stack.

%  Copyright 2000-2010 The MathWorks, Inc. and Ford Global Technologies, Inc.


if nargin<3
    error(message('mbc:xregGui:PointerRepository:TooFewInputs'));
end

S = pr.pGetStackFor(fH);
S.removeItem(ID);