Mercurial > hg > ltpda
view m-toolbox/classes/+utils/@prog/strs2cells.m @ 31:a26669b59d7e database-connection-manager
Update LTPDAworkbench
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Mon, 05 Dec 2011 16:20:06 +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