Home > marsbar > @marsy > summary_descrip.m

summary_descrip

PURPOSE ^

get/set method for summary data description

SYNOPSIS ^

function res = summary_descrip(o, descrip)

DESCRIPTION ^

 get/set method for summary data description
 
 $Id$ 

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

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

Generated on Wed 11-May-2022 16:26:09 by m2html © 2003-2019