www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@sweepsetfilter/addFilter.m

    function obj = addFilter(obj, filterString)
%ADDFILTER

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



% Parse the string into the internal format
obj.filters(end+1) = parseFilterString(filterString);

% Update the filter cache, but updateing on the last filter only
obj = updateFilter(obj, [], length(obj.filters));