label - returns / sets label value for object $Id$
0001 function h = label(obj, val) 0002 % label - returns / sets label value for object 0003 % 0004 % $Id$ 0005 0006 if nargin > 1 0007 obj.label = val; 0008 h = obj; 0009 else 0010 h = obj.label; 0011 end