www.gusucode.com > mbcdata 工具箱 matlab 源码程序 > mbcdata/@cgpointobjective/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 2005 The MathWorks, Inc. and Ford Global Technologies, Inc. tp = 'Point Objective';