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

    function addListeners(obj, L)
%ADDLISTENERS Convenience method to add listeners to dialog's store.
%
%  ADDLISTENERS(OBJ, L) adds the listener vector L to the list of listeners
%  being held in the component.

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


obj.Listeners = [obj.Listeners; L(:)];