get/set method for summary data description $Id$
0001 function res = summary_descrip(o, descrip) 0002 % get/set method for summary data description 0003 % 0004 % $Id$ 0005 0006 st = y_struct(o); 0007 if nargin < 2 % get 0008 res = ''; 0009 if isfield(st, 'descrip') 0010 res = st.descrip; 0011 end 0012 else % set 0013 st.descrip = descrip; 0014 o = y_struct(o, st); 0015 res = o; 0016 end