Autoexport: Difference between revisions
Jump to navigation
Jump to search
imported>Jeremy No edit summary |
|||
Line 23: | Line 23: | ||
|- | |- | ||
| asf|| Analect Spectral File | | asf|| Analect Spectral File | ||
|- | |||
| spc|| Galactic SPC File | |||
|- | |- | ||
| xml|| eXtended Markup Language file | | xml|| eXtended Markup Language file |
Latest revision as of 12:15, 25 February 2022
Purpose
- Exports Data or other object to a specified file format.
Synopsis
- autoexport(data,filename,format)
Description
Automatically exports the given DataSet (or other object) to a file of the specified type. If only a file format is given, the user is prompted to name the output file. If only a filename is given, the extension of the file is used to identify the file format. If both a filename and a file format are given, the specified file format is used no matter what the extension of the filename.
File format can be one of:
Format | Description |
---|---|
csv | Comma-Separated Values file |
mat | Matlab MAT file |
asf | Analect Spectral File |
spc | Galactic SPC File |
xml | eXtended Markup Language file |
If both filename and format are omitted, the user is prompted for a file name and format to save to.