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

    function mode = getRenameMode(obj)
%GETRENAMEMODE Return whether objectives and constraints can be renamed.
%
%   OBJ = GETRENAMEMODE(OBJ) returns whether objectives and constraints can
%   be renamed in the optimization.
%
%   See also CGOPTIMOPTIONS/SETRENAMEMODE

%   Copyright 2007 The MathWorks, Inc.

mode = obj.renameMode;