view m-toolbox/classes/tests/@ltpda_utp/char.m @ 1:2014ba5b353a database-connection-manager

Remove old code
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Sat, 03 Dec 2011 18:13:55 +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