view m-toolbox/classes/@ltpda_uoh/setHist.m @ 2:18e956c96a1b database-connection-manager

Add LTPDADatabaseConnectionManager implementation. Matlab code
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Sun, 04 Dec 2011 21:23:09 +0100
parents f0afece42f48
children
line wrap: on
line source

% 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