If present, it indicates that the exported values are formatted to appear just as they do in the Solutions window unless a format specification is appended to the variable name. The /C option should not be used with the /A option. However, with the /C option, only the results from the last run in the Parametric table appear in the exported file. If the /F option is not used, the exported data would be appended to data written for previous runs in the Parametric table. Normally, results are exported for each run in the Parametric table. If present, the designated file will be cleared before each exporting operation. If present, it indicates that the values should be appended to the existing file, if it exists. The default situation without any format specification as shown for Var1 is to export the variable with 8 digits of precision in floating point format. The example shows an optional format specification that can be appended to each variable name. Note that numerical or string constants can also be supplied along with variable names. The variable can be separated by a list separator (, for US users, for European users) or a space. The values of variables Var1, Var2, Var3, Var4 and 5 elements of array X are exported with the above $EXPORT directive. $Export /A /C /D /F /H /L /N /Q /U /V 'FileName' Var1 Var2:E5 Var3:F2 Var4:A X. DAT or any other filename extension, values are separated with a tab. Note that if a /H option is provided, header information will not be included. The header information will include the name of the variable, its units, and its display format. TXT, EES will assume that the data should be written with header information in the EES Lookup file format that can be read directly by the Open Lookup Table command. TAB, values are separated with a tab character. In this format, each value is separated by a list separator character. CSV (comma-separated values), the data will be written as a CSV ASCII text file that is easily recognized by spreadsheet applications and by the $Import directive. The filename extension controls the format of the file that is written. This file can then be read by a $Import directive, the Open Lookup Table command in EES or by another application, such as a spreadsheet program. The $Export directive provides a simple way of writing selected variables and/or constants to an ASCII file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |