Mercurial > hg > ltpda
view m-toolbox/classes/@specwin/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 specwin object into a string. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % DESCRIPTION: CHAR convert a specwin object into a string. % % CALL: string = char(sw); % % VERSION: $Id: char.m,v 1.11 2011/05/25 07:28:49 mauro Exp $ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function varargout = char(varargin) %%% Get input objs = [varargin{:}]; pstr = []; for kk = 1:numel(objs) w = objs(kk); pstr = ['(' pstr w.type]; pstr = [pstr ', length=' num2str(w.len)]; pstr = [pstr ', alpha=' num2str(w.alpha)]; pstr = [pstr ', psll=' num2str(w.psll)]; pstr = [pstr ', rov=' num2str(w.rov)]; pstr = [pstr ', nenbw=' num2str(w.nenbw)]; pstr = [pstr ', w3db=' num2str(w.w3db)]; pstr = [pstr ', flatness=' num2str(w.flatness) '), ']; pstr = strrep(pstr, '_', '\_'); end varargout{1} = pstr(1:end-2); end