view m-toolbox/classes/+utils/@models/getDescription.m @ 51:9d5c88356247 database-connection-manager

Make unit tests database connection parameters configurable
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 07 Dec 2011 17:24:37 +0100
parents f0afece42f48
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