Mercurial > hg > ltpda
view m-toolbox/classes/+utils/@prog/strs2cells.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
function cell = strs2cells(varargin) % STRS2CELLS convert a set of input strings to a cell array. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % DESCRIPTION: STRS2CELLS convert a set of input strings to a cell array. % % CALL: cell = strs2cells(str1, str2, ...) % % INPUTS: str1 - string % str2 - string % ... % % OUTPUTS: cell - cell array of the input strings % % VERSION: $Id: strs2cells.m,v 1.1 2008/06/18 13:35:11 hewitson Exp $ % % HISTORY: 26-01-2007 M Hewitson % Creation % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% cell = []; for j=1:nargin cell = [cell cellstr(varargin{j})]; end % END