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

    function pPostSetMessageService(obj)
%PPOSTSETMESSAGESERVICE Method that is called when the message service is set
%
%  PPOSTSETMESSAGESERVICE(OBJ) is called in response to a new message
%  service being set in the object.

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


% When the message service is changed, remove all of the listeners that are
% on the old one.
obj.clearMessageServiceListeners;