Mercurial > hg > ltpda
diff m-toolbox/classes/+utils/@models/mainFnc.m @ 43:bc767aaa99a8
CVS Update
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Tue, 06 Dec 2011 11:09:25 +0100 |
parents | f0afece42f48 |
children |
line wrap: on
line diff
--- a/m-toolbox/classes/+utils/@models/mainFnc.m Wed Nov 23 19:22:13 2011 +0100 +++ b/m-toolbox/classes/+utils/@models/mainFnc.m Tue Dec 06 11:09:25 2011 +0100 @@ -20,7 +20,7 @@ % getVersion - a function handle to the getVersion function % versionTable - a function handle to the versionTable function % -% VERSION: $Id: mainFnc.m,v 1.3 2011/04/29 14:25:14 hewitson Exp $ +% VERSION: $Id: mainFnc.m,v 1.4 2011/12/02 09:03:20 hewitson Exp $ % % function varargout = mainFnc(inputs, modelFilename, getModelDescription, getModelDocumentation, getVersion, versionTable) @@ -39,13 +39,12 @@ end % Build the object - hpl = copy(pl, 1); out = fcn(pl); % Set the method version string in the minfo object if ~isempty(constructorInfo) && utils.helper.isSubclassOf(class(out), 'ltpda_uoh') % If this is a user-call via a constructor, then we add history - out = addHistoryStep(out, constructorInfo, hpl); + out = addHistoryStep(out, constructorInfo, pl); end if nargout > 0