view m-toolbox/classes/tests/@ltpda_utp/char.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

% CHAR convert a ltpda_utp object into a string.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% DESCRIPTION: CHAR convert an ltpda_utp object into a string.
%
% CALL:        string = char(sw);
%
% VERSION:     $Id: char.m,v 1.1 2010/10/07 14:52:24 hewitson Exp $
%
% HISTORY:     04-02-2007 M Hewitson
%                 Creation
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

function varargout = char(varargin)

  %%% Get input

  pstr = [];
  for kk = 1:nargin
    utp = varargin{kk};

    pstr = [class(utp)];

    if kk<nargin
      pstr = [pstr ', '];
    end
  end

  varargout{1} = pstr;

end