www.gusucode.com > mbc 工具箱 matlab 源码程序 > mbc/@mbcmodel/@fitalgorithm/disp.m
function disp(OPT) %DISP % Copyright 2006 The MathWorks, Inc. % get structure and display it fprintf('Algorithm: %s\n',OPT.Name); Alts= getAlternativeNames(OPT); if ~isempty(Alts) Alts(strcmp(OPT.Name,Alts)) = []; if ~isempty(Alts) Alts = sprintf('''%s'',',Alts{:}); fprintf('Alternatives: %s\n', Alts(1:end-1)) end end