SETHIST Set the property 'hist' %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: SETHIST Set the property 'hist' CALL: obj = obj.setHist('new ver'); obj = setHist(obj, 'new ver'); INPUTS: obj - is a general object VERSION: $Id: setHist.m,v 1.2 2008/07/18 11:13:34 ingo Exp $ HISTORY: 16-07-2008 Diepholz Creation %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0001 % SETHIST Set the property 'hist' 0002 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0003 % 0004 % DESCRIPTION: SETHIST Set the property 'hist' 0005 % 0006 % CALL: obj = obj.setHist('new ver'); 0007 % obj = setHist(obj, 'new ver'); 0008 % 0009 % INPUTS: obj - is a general object 0010 % 0011 % VERSION: $Id: setHist.m,v 1.2 2008/07/18 11:13:34 ingo Exp $ 0012 % 0013 % HISTORY: 16-07-2008 Diepholz 0014 % Creation 0015 % 0016 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0017 0018 function obj = setHist(obj, val) 0019 %%% decide whether we modify the ltpda_uoh-object, or create a new one. 0020 obj = copy(obj, nargout); 0021 0022 %%% set 'hist' 0023 obj.hist = val; 0024 end