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

    function val = pGetValues(obj, val)
%PGETVALUES Private get function.
%
%   VALUES = PGETVALUES( MDL, VALUES )
%
%   This is a private function that should not be called directly.

%   Copyright 2005 The MathWorks, Inc.


m = obj.Object;
if isobject(m)
    val = double(m);
    
    % reorder coefficients
    val = val( termorder(m) );
end