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

    function ret = isGenerated(obj)
%ISGENERATED Check whether all cached generation is complete.
%
%   RET = ISGENERATED(OBJ) returns true if the scrambling in the pointset
%   is up to date.
%
%   See also: RESET, GENERATE.

%   Copyright 2007 The MathWorks, Inc.

% Check whether there is an unapplied scramble pending.
ret = isempty(obj.ScrambleCache);