www.gusucode.com > mbcexpr 工具箱 matlab 源码程序 > mbcexpr/@cgvariable/getaliasstring.m
function str = getaliasstring(obj) %GETALIASSTRING Return a string version of the alias list % % OUT = GETALIASSTRING(IN) returns a single-line string containing the % names of all of the aliases to this object. The alias names will be % comma-separated. % Copyright 2000-2008 The MathWorks, Inc. and Ford Global Technologies, Inc. if ~isempty(obj.Alias) str = sprintf('%s, ', obj.Alias{:}); str = str(1:end-2); % Trim final ", " else str =''; end