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

    function SetPointer(pr, fig, ptrname)
%SETPOINTER Set a pointer on a figure
%
%  SETPOINTER(PR, FIG, NAME)  sets the named pointer data for the figure
%  FIG.  Valid pointer names include any of the standard figure pointer
%  settings in addition to any of the fields listed in the Pointers
%  property of PR

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


pr.pSetAndUpdate(fig, pr.pGetPointer(ptrname));