Autoexport

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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