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

    function execute(obj)
%EXECUTE Perform the action command
%
%  EXECUTE(OBJ) evaluates the action's callback command.  If the Action is
%  disabled, nothing will be executed.

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


if obj.Enabled
    xregcallback(obj.Command, obj, []);
end