ANCESTOR function overloaded as JCONTROL method Example: h=ancestor(obj, type) returns the appropriate ancestor of the obj.hgcontainer See also builtin/ancestor
0001 function h=ancestor(obj, type) 0002 % ANCESTOR function overloaded as JCONTROL method 0003 % 0004 % Example: 0005 % h=ancestor(obj, type) 0006 % 0007 % returns the appropriate ancestor of the obj.hgcontainer 0008 % 0009 % See also builtin/ancestor 0010 % 0011 0012 h=ancestor(obj.hgcontainer, type); 0013 return 0014 end