www.gusucode.com > signal 工具箱matlab源码程序 > signal/+fdesign/@abstracttype/isdesignmethod.m

    function b = isdesignmethod(this, method)
%ISDESIGNMETHOD   Returns true if the method is a valid designmethod.

%   Copyright 1999-2004 The MathWorks, Inc.

d = designmethods(this);

if isa(method, 'function_handle'),
    method = func2str(method);
end

b = any(strcmpi(method, d));

% [EOF]