Mercurial > hg > ltpda
view m-toolbox/classes/@stattest/update_struct.m @ 40:977eb37f31cb database-connection-manager
User friendlier errors from utils.mysql.connect
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Mon, 05 Dec 2011 18:04:03 +0100 |
parents | f0afece42f48 |
children |
line wrap: on
line source
% UPDATE_STRUCT update the input structure to the current ltpda version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % FUNCTION: update_struct % % DESCRIPTION: UPDATE_STRUCT update the input structure to the current % ltpda version % % CALL: obj_struct = update_struct(obj_struct, version_str); % % VERSION: $Id: update_struct.m,v 1.1 2010/12/20 12:50:15 hewitson Exp $ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function varargout = update_struct(varargin) obj_struct = varargin{1}; varargout{1} = obj_struct; end