source: trunk/src/@xmltree/getfilename.m @ 1148

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

xmltree updated

File size: 596 bytes
RevLine 
[925]1function filename = getfilename(tree)
2% XMLTREE/GETFILENAME Get filename method
3% FORMAT filename = getfilename(tree)
4%
5% tree     - XMLTree object
6% filename - XML filename
7%__________________________________________________________________________
8%
9% Return the filename of the XML tree if loaded from disk and an empty
10% string otherwise.
11%__________________________________________________________________________
12% Copyright (C) 2002-2011  http://www.artefact.tk/
13
14% Guillaume Flandin
15% $Id: getfilename.m 4460 2011-09-05 14:52:16Z guillaume $
16
17filename = tree.filename;
Note: See TracBrowser for help on using the repository browser.