www.gusucode.com > mbcdata 工具箱 matlab 源码程序 > mbcdata/@cgoptimoutput/hasSelectedSolution.m
function val = hasSelectedSolution(obj) %HASSELECTEDSOLUTION Check whether the output has a selected solution. % % VAL = HASSELECTEDSOLUTION(OBJ) returns true if the selected solution % has been initialized for the output. % Copyright 2005 The MathWorks, Inc. val = ~isempty(obj.outputSelection);