www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@testplansweepsetfilter/private/updateClusters.m

    function [obj, ss] = updateClusters(obj, ss)
%UPDATECLUSTERS update clusters in testplansweepsetfilter
%
%  OUT = UPDATECLUSTERS(IN)
%  

%  Copyright 2000-2008 The MathWorks, Inc. and Ford Global Technologies, Inc.


% No sweepset in so we need to get the data in
if nargin < 2
    ss = sweepset(sweepsetfilter(obj));
end

% Update the cache
obj = updateCachedInfo(obj);

% Run the cluster algorithm
obj = runClusterAlgorithm(obj);

% Propagate to the excluded data
[obj, ss] = updateExcludedData(obj, ss);