www.gusucode.com > signal 工具箱matlab源码程序 > signal/@filtdes/@fircband/setcbands.m
function out = setcbands(hObj, out) %SETCBANDS Private pre-set function % Author(s): J. Schickler % Copyright 1988-2008 The MathWorks, Inc. % Cache the old ConstrainedBands in case the set fails. oldcb = get(hObj, 'ConstrainedBands'); set(hObj, 'privConstrainedBands', out); out = []; try filterType_listener(hObj); catch ME % If the object failed to update properly reset the constrainedbands set(hObj, 'privConstrainedBands', oldcb); throw(ME); end % [EOF]