STRING writes a command string that can be used to recreate the input filter object. M Hewitson 29-03-07 $Id: string.html,v 1.1 2007/06/08 14:15:05 hewitson Exp $
0001 function cmd = string(f) 0002 0003 % STRING writes a command string that can be used to recreate the input 0004 % filter object. 0005 % 0006 % M Hewitson 29-03-07 0007 % 0008 % $Id: string.html,v 1.1 2007/06/08 14:15:05 hewitson Exp $ 0009 % 0010 0011 infile = get(f, 'infile'); 0012 if ~isempty(infile) 0013 cmd = ['mfir(''' infile ''')']; 0014 else 0015 pl = get(f, 'plist'); 0016 cmd = ['mfir(' string(pl) ')']; 0017 end 0018 0019 0020 0021 % END