Home > classes > @miir > string.m

string

PURPOSE ^

STRING writes a command string that can be used to recreate the input

SYNOPSIS ^

function cmd = string(f)

DESCRIPTION ^

 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:06 hewitson Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

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:06 hewitson Exp $
0009 %
0010 
0011 infile = get(f, 'infile');
0012 if ~isempty(infile)
0013   cmd = ['miir(''' infile ''')'];
0014 else  
0015   pl = get(f, 'plist');
0016   cmd = ['miir(' string(pl) ')'];
0017 end
0018 
0019 
0020 
0021 % END

Generated on Fri 08-Jun-2007 16:09:11 by m2html © 2003