diff m-toolbox/classes/@ltpda_uoh/setHist.m @ 0:f0afece42f48

Import.
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 23 Nov 2011 19:22:13 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/m-toolbox/classes/@ltpda_uoh/setHist.m	Wed Nov 23 19:22:13 2011 +0100
@@ -0,0 +1,21 @@
+% 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.3 2010/10/29 12:43:26 ingo Exp $
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+function obj = setHist(obj, val)
+  %%% decide whether we modify the ltpda_uoh-object, or create a new one.
+  obj = copy(obj, nargout);
+
+  %%% set 'hist'
+  obj.hist = val;
+end