www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@cset_lhs/isGenerated.m

    function ret = isGenerated(obj)
%ISGENERATED Check whether all cached generation is complete.
%
%   RET = ISGENERATED(OBJ) returns true if the LHS design points have been
%   selected.
%
%   See also: RESET, GENERATE.

%   Copyright 2007 The MathWorks, Inc.

% Deefault behaviour is to need no generation, so always return true
ret = ~isempty(obj.indices);