www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtools/@cgbrowser/IsDeleteEnabled.m

    function out=IsDeleteEnabled(h)
%ISDELETEENABLED Indicate whether delete is currently enabled
%
%  ISDELETEENABLED(CGB) returns true if deletion is enabled for the
%  current node.

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


out = strcmp(h.Hand.Toolbar.buttons.Delete.Enable,'on');