www.gusucode.com > mbcmodels 工具箱 matlab 源码程序 > mbcmodels/@xregtransient/labels.m

    function c= labels(U, TeX)
%LABELS
%
% c= labels(U, TeX)

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

c = {};
try
    c= feval(name(U),U,'labels');
catch ME
    if ~strcmp(ME.identifier,'MATLAB:UndefinedFunction') || isempty(strfind(ME.message,'i_labels'))
        ReportError(U,ME)
    end
end

if isempty(c)
    c= feval(name(U),U,'simvars');
end