www.gusucode.com > mbcdata 工具箱 matlab 源码程序 > mbcdata/@cgoptimoptions/getFreeVariables.m
function labels = getFreeVariables(obj) %GETFREEVARIABLES Return the optimization free variable labels. % LABELS = GETFREEVARIABLES(OPTIONS) returns the current placeholder % labels for the free variables in the optimisation. The labels are % returned in a (1-by-NFreeVar) cell array, LABELS, where NFreeVar is the % number of free variables that have been added to the optimization. % % See also CGOPTIMOPTIONS/ADDFREEVARIABLE, % CGOPTIMOPTIONS/SETFREEVARIABLESMODE, % CGOPTIMOPTIONS/GETFREEVARIABLESMODE. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. labels = obj.freevariables.labels;