Autoexport

From Eigenvector Research Documentation Wiki
Revision as of 13:15, 25 February 2022 by Lyle (talk | contribs) (→‎Description)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.

See Also

autoimport, editds, encodexml, writeasf, writecsv