Mercurial > hg > ltpda
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f0afece42f48 |
---|---|
1 % SETHIST Set the property 'hist' | |
2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
3 % | |
4 % DESCRIPTION: SETHIST Set the property 'hist' | |
5 % | |
6 % CALL: obj = obj.setHist('new ver'); | |
7 % obj = setHist(obj, 'new ver'); | |
8 % | |
9 % INPUTS: obj - is a general object | |
10 % | |
11 % VERSION: $Id: setHist.m,v 1.3 2010/10/29 12:43:26 ingo Exp $ | |
12 % | |
13 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
14 | |
15 function obj = setHist(obj, val) | |
16 %%% decide whether we modify the ltpda_uoh-object, or create a new one. | |
17 obj = copy(obj, nargout); | |
18 | |
19 %%% set 'hist' | |
20 obj.hist = val; | |
21 end |