www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@conbase/nFeatures.m

    function n = nFeatures(con)
%NFEATURES Number of parameters in a (local) constraint
%
%   N = NFEATURES(CON) is the number of features (parameters) of the local
%   constraint CON. 
%
%   This method should be overloaded fpr classes that support being local
%   constraints.
%
%   See also CONBASE, 
%            CONBASE/GETFEATURES,
%            CONBASE/SETFEATURES.

% Copyright 2005 The MathWorks, Inc. and Ford Global Technologies, Inc.

n = 0;