Mercurial > hg > ltpda
view m-toolbox/classes/+utils/@models/getDescription.m @ 52:daf4eab1a51e database-connection-manager tip
Fix. Default password should be [] not an empty string
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 07 Dec 2011 17:29:47 +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