GETALLMENUS Get all submenus of a window or a menu and return a tree.

Usage: >> [tree nb] = getallmenus( handler );

Inputs:
handler   
handler of the window or of a menu

Outputs:
tree   
text output
nb   
number of elements in the tree

Author: Arnaud Delorme, CNL / Salk Institute, 2001

See the matlab file getallmenus.m (may require other functions)

Back to functions