get/set method for y_struct field $Id$
0001 function res = y_struct(obj, Struct) 0002 % get/set method for y_struct field 0003 % 0004 % $Id$ 0005 0006 if nargin > 1 0007 obj.y_struct = Struct; 0008 res = obj; 0009 else 0010 res = obj.y_struct; 0011 end