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

    function n= name(U);
% xregusermod/NAME

%  Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc.



if ~isempty(U.funcName)
    if ischar(U.funcName)
        n= U.funcName;
    else
        n= func2str(U.funcName);
    end
else
   n= class(U);
end