www.gusucode.com > mbcdata 工具箱 matlab 源码程序 > mbcdata/@cgoptimoutput/isAcceptable.m
function AcceptArray = isAcceptable(obj, Runs, Sols) %ISACCEPTABLE Get acceptability flags for solutions. % % ACCEPTARRAY = ISACCEPTABLE(OBJ, RUNS, SOLS) returns a logical array of % size (NRUNS-by-NSOLS) with true values for runs that are marked as % acceptable. If any element of SOLS is set to -1, the selected solution % is used for the specified RUNS. % Copyright 2006 The MathWorks, Inc. F = pGetSolutionFlagNames; AcceptArray = pGetSolutionFlags(obj, Runs, Sols, F.ACCEPTABLE);