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

    function AcceptForced = isAcceptableUserSet(obj, Runs, Sols)
%ISACCEPTABLEUSERSET Check whether the acceptability has been user-altered.
%
%   ACCEPTFORCED = ISACCEPTABLEUSERSET(OBJ, RUNS, SOLS) returns a logical
%   array of size (NRUNS-by-NSOLS) with true values indicating which
%   solutions have had their Acceptable flag altered manually by the user.

%   Copyright 2006 The MathWorks, Inc.


F = pGetSolutionFlagNames;
AcceptForced = pGetSolutionFlags(obj, Runs, Sols, F.ACCEPTABLE_USER);