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

    function mode = getFreeVariablesMode(obj)
%GETFREEVARIABLESMODE Return the current usage of free variables.
%   MODE = GETFREEVARIABLESMODE(OPTIONS) returns a string describing how
%   the optimization makes free variables available to the user.  MODE will
%   be set to 'any' or 'fixed'.
%
%   See also CGOPTIMOPTIONS/SETFREEVARIABLESMODE.

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


mode = obj.freevariables.mode;