CHAR convert a pole object into a string. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: CHAR convert a pole object into a string. CALL: string = char(pzmodel) VERSION: $Id: char.m,v 1.2 2007/07/18 13:58:45 ingo Exp $ HISTORY: 02-04-2007 M Hewitson Creation %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0001 function pstr = char(p) 0002 % CHAR convert a pole object into a string. 0003 % 0004 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0005 % 0006 % DESCRIPTION: CHAR convert a pole object into a string. 0007 % 0008 % CALL: string = char(pzmodel) 0009 % 0010 % VERSION: $Id: char.m,v 1.2 2007/07/18 13:58:45 ingo Exp $ 0011 % 0012 % HISTORY: 02-04-2007 M Hewitson 0013 % Creation 0014 % 0015 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0016 0017 pstr = ['pzmodel(' p.name ')']; 0018 pstr = strrep(pstr, '_', '\_'); 0019 0020 % END