view m-toolbox/classes/+utils/@prog/strs2cells.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

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