www.gusucode.com > mbcdata 工具箱 matlab 源码程序 > mbcdata/@cgtabgradconstraint/getType.m

    function tp = getType(obj)
%GETTYPE Get the type description for the object
%
%  TP = GETTYPE(OBJ) returns a string that describes the type of this
%  object.  This type string must match the option type that is provided to
%  the CGOPTIMITEM/GUITYPECHOOSER method for constructing this object.

%   Copyright 2006 The MathWorks, Inc.

tp = 'Table Gradient';