www.gusucode.com > mbcdata 工具箱 matlab 源码程序 > mbcdata/@cgoptim/getSetup.m
function opts = getSetup(obj) %GETSETUP Get the current optimization setup % % OPTS = GETSETUP(OBJ) returns the internal cgoptimoptions subclass that % defines the current configuration of the optimization. This object % contains the information on the numbers of objectives, constraints etc. % as well as what changes are allowed to be made. It does not contain % information on which Cage objects are currently matched up to the % settings: the optimization object contains this information. % % See also: CGOPTIMOPTIONS, CGOPTIMEXTOPTIONS. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. opts = obj.OptimSetup;