source: trunk/src/@xmltree/display.m @ 1156

Last change on this file since 1156 was 925, checked in by sommeria, 9 years ago

xmltree updated

File size: 683 bytes
RevLine 
[925]1function display(tree)
2% XMLTREE/DISPLAY Command window display of an XMLTree
3% FORMAT display(tree)
4%
5% tree - XMLTree object
6%__________________________________________________________________________
7%
8% This method is called when the semicolon is not used to terminate a
9% statement which returns an XMLTree.
10%__________________________________________________________________________
11% Copyright (C) 2002-2011  http://www.artefact.tk/
12
13% Guillaume Flandin
14% $Id: display.m 4460 2011-09-05 14:52:16Z guillaume $
15
16disp(' ');
17disp([inputname(1),' = ']);
18disp(' ');
19for i=1:numel(tree)
20    disp([blanks(length(inputname(1))+3) char(tree(i))]);
21end
22disp(' ');
Note: See TracBrowser for help on using the repository browser.