Rev | Line | |
---|
[925] | 1 | function 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 |
|
---|
| 16 | disp(' ');
|
---|
| 17 | disp([inputname(1),' = ']);
|
---|
| 18 | disp(' ');
|
---|
| 19 | for i=1:numel(tree)
|
---|
| 20 | disp([blanks(length(inputname(1))+3) char(tree(i))]);
|
---|
| 21 | end
|
---|
| 22 | disp(' ');
|
---|
Note: See
TracBrowser
for help on using the repository browser.