TEMPLATE Display a template object in Matlab window DISPLAY(TPL) displays informations about the content of template object TPL: Template Object: root '.', 2 files, 9 keys, comment unknowns. root element of template files, number of template files, number of keywords defined and the way of handling unknowns tags.
0001 function display(tpl) 0002 %TEMPLATE Display a template object in Matlab window 0003 % DISPLAY(TPL) displays informations about the content of template 0004 % object TPL: 0005 % Template Object: root '.', 2 files, 9 keys, comment unknowns. 0006 % root element of template files, number of template files, number of 0007 % keywords defined and the way of handling unknowns tags. 0008 0009 % Copyright (C) 2003 Guillaume Flandin <Guillaume@artefact.tk> 0010 % $Revision: 1.0 $Date: 2003/05/05 22:19:51 $ 0011 0012 disp(' '); 0013 disp([inputname(1),' = ']); 0014 disp(' '); 0015 for i=1:prod(size(tpl)) 0016 disp([blanks(length(inputname(1))+3) char(tpl(i))]); 0017 end 0018 disp(' ');