www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/@mbcmultiview/@View/disableMessageServiceListeners.m

    function disableMessageServiceListeners(obj)
%DISABLEMESSAGESERVICELISTENERS Disable this object's listeners
%
%  DISABLEMESSAGESERVICELISTENERS(OBJ) disables this object's message
%  service listeners.  This is useful if you need to prevent the object
%  from responding to its own change broadcasts.

%  Copyright 2005 The MathWorks, Inc. and Ford Global Technologies, Inc.


set(obj.MessageServiceListeners, 'enabled', 'off');