Writecsv: Difference between revisions
Jump to navigation
Jump to search
imported>Jeremy (New page: ===Purpose=== Export a DataSet object to a comma-separated values (CSV) file. ===Synopsis=== :writecsv(x,filename) ===Description=== Exports a comma-separated values text file based o...) |
imported>Scott |
||
Line 17: | Line 17: | ||
===See Also=== | ===See Also=== | ||
[[xlsreadr]] | [[autexport]], [[xlsreadr]] |
Revision as of 15:31, 21 September 2011
Purpose
Export a DataSet object to a comma-separated values (CSV) file.
Synopsis
- writecsv(x,filename)
Description
Exports a comma-separated values text file based on the contents of a DataSet object. The csv file will include any axisscale, class, label and include information contained in the file as well as author, description, name and date details.
Inputs are the dataset to export (x) and an optional filename (filename). If filename is omitted, the user is prompted for an output filename.
Note that although the CSV file output is not directly readable by XCLREADR, an XLS file created by Excel from the CSV file will be readable by XLSREADR (i.e. read the CSV file into Excel, then save as XLS. The output XLS file will be readable by XLSREADR).