% 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

