www.gusucode.com > mbc 工具箱 matlab 源码程序 > mbc/@mbcmodel/@modelparameters/pGetNumberOfParameters.m

    function val = pGetNumberOfParameters(obj, val)
%PGETNUMBEROFPARAMETERS Private get function.
%
%   NUMPARAMS = PGETNUMBEROFPARAMETERS( MDL, NUMPARAMS )
%
%   This is a private function that should not be called directly.

% Copyright 2004-2005 The MathWorks, Inc.

m = obj.Object;
if isobject(m)   
    val = numParams(m);
end