diff m-toolbox/classes/+utils/@models/getDescription.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/+utils/@models/getDescription.m	Wed Nov 23 19:22:13 2011 +0100
@@ -0,0 +1,18 @@
+% GETDESCRIPTION builds a description string from the model
+% 
+% CALL: utils.models.getDescription(@getModelDescription, @versionTable, version, @getFileVersion)
+% 
+function desc = getDescription(varargin)
+  getModelDescription = varargin{1};
+  options = {};
+  if nargin > 1
+      options = varargin(1:end);
+  end
+  desc = getModelDescription();
+
+%   if numel(options)>=3 && ischar(options{3})
+%     fcn = utils.models.functionForVersion(options{:});
+%     desc = [desc ' ' fcn('description')];
+%   end
+  
+end
\ No newline at end of file