Home > atmlab > arts > arts_cfile.m

arts_cfile

PURPOSE ^

ARTS_CFILE Generates a complete ARTS example.

SYNOPSIS ^

function arts_cfile( Q, runtype, folder )

DESCRIPTION ^

 ARTS_CFILE   Generates a complete ARTS example.

    Creates a control file and corresponding input files matching the 
    settings in a Qarts structure.

    The control file is named as cfile.arts.

    See *qarts2cfile* for existing choices for *runtype*. 

 FORMAT   arts_cfile( Q, runtype, folder )
        
 IN    Q         Qarts structure.
       runtype   String describing type of calculation to perform.
       folder    The folder where to put files.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

DOWNLOAD ^

arts_cfile.m

SOURCE CODE ^

0001 % ARTS_CFILE   Generates a complete ARTS example.
0002 %
0003 %    Creates a control file and corresponding input files matching the
0004 %    settings in a Qarts structure.
0005 %
0006 %    The control file is named as cfile.arts.
0007 %
0008 %    See *qarts2cfile* for existing choices for *runtype*.
0009 %
0010 % FORMAT   arts_cfile( Q, runtype, folder )
0011 %
0012 % IN    Q         Qarts structure.
0013 %       runtype   String describing type of calculation to perform.
0014 %       folder    The folder where to put files.
0015 
0016 % 2004-09-23   Created by Patrick Eriksson.
0017 
0018 
0019 function arts_cfile( Q, runtype, folder )
0020 
0021 parts = qarts2cfile( runtype );
0022 
0023 S = qarts2cfile( Q, parts, folder );
0024 
0025 cfile = fullfile( folder, 'cfile.arts' );
0026 
0027 strs2file( cfile, S );
0028 
0029 
0030 
0031

Generated on Mon 15-Sep-2014 13:31:28 by m2html © 2005