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

    function val = pGetNames(obj, val)
%PGETNAMES Private get function.
%
%   NAMES = PGETNAMES( MDL, NAMES )
%
%   This is a private function that should not be called directly.
%
%   Special overload for linear models - this is really here because
%   xregcubic and xreg3xspline implement a slightly different labels
%   function which orders the labels in a 'pretty' order rather than in the
%   same order as double(m). The order of the labels comes from
%   termorder(m)

%   Copyright 2004-2007 The MathWorks, Inc.

m = obj.Object;
if isobject(m)
    % Tell the label method to not TeX the string (false = NO_TeX)
    val = labels(m, false);
end