Writes a Galactic SPC file.
- writespc(x, filename)
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.
- x = Dataset object whose contents are to be written to an SPC file.
- filename = a text string with the name of a SPC file. If filename is omitted, the user is prompted for an output filename.