view 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 source

% 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