Last change
on this file since 811 was
723,
checked in by sommeria, 11 years ago
|
xmltree and toolbox_calib added to svn
|
File size:
502 bytes
|
Rev | Line | |
---|
[723] | 1 | function p = parent(tree,uid) |
---|
| 2 | % XMLTREE/PARENT Parent Method |
---|
| 3 | % FORMAT uid = parent(tree,uid) |
---|
| 4 | % |
---|
| 5 | % tree - XMLTree object |
---|
| 6 | % uid - UID of the lonely child |
---|
| 7 | % p - UID of the parent ([] if root is the child) |
---|
| 8 | %_______________________________________________________________________ |
---|
| 9 | % |
---|
| 10 | % Return the uid of the parent of a node. |
---|
| 11 | %_______________________________________________________________________ |
---|
| 12 | % @(#)parent.m Guillaume Flandin 02/04/08 |
---|
| 13 | |
---|
| 14 | p = tree.tree{uid}.parent; |
---|
Note: See
TracBrowser
for help on using the repository browser.