www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@sweepsetfilter/pUpdateCache.m
function [ssf] = pUpdateCache(ssf) %PUPDATECACHE Private function to update the cache state of the sweepsetfilter % % SSF = PUPDATECACHE(SSF) updates the cached object in the sweepsetfilter. % This function should be used by subclasses when the filter operations % need to be re-applied, but not re-computed. % Copyright 2000-2007 The MathWorks, Inc. and Ford Global Technologies, Inc. % Set the cache to be empty ssf.cachedSweepset = []; % Does the ssf need a cache at all? if ssf.allowsCacheing ssf.cachedSweepset = ApplyObject(ssf); end