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

    function conLabels = getNonlcon(optimstore)
%GETNONLCON Return the nonlinear constraint labels 
%   CONLABELS = GETNONLCON(OPTIMSTORE) returns the labels for the nonlinear
%   constraint functions in optimization. These labels are those found in
%   the CAGE GUI for the optimization nonlinear constraints.
%
%   See also: CGOPTIMSTORE/GETOBJECTIVES. 

%  Copyright 2005 The MathWorks, Inc. and Ford Global Technologies, Inc.


% Redirect to optimrunner 
conLabels = getConstraintNames(optimstore.OptimRunner, 'nonlinear');