Writespc
Jump to navigation
Jump to search
Purpose
Writes a Galactic SPC file.
Synopsis
- writespc(x, filename)
Description
WRITESPC writes a Galactic SPC file from the contents of a dataset object. The dataset may contain multiple rows. The created SPC file is formatted as described in the document "Galactic Universal Data Format Specification 9/4/97", which is easily found on the internet.
Inputs
- x = Dataset object whose contents are to be written to an SPC file.
Optional Inputs
- filename = a text string with the name of a SPC file. If filename is omitted, the user is prompted for an output filename.
Outputs
- None.