save2psse

save2psse(fname, mpc, rawver)

save2psse() - Saves a MATPOWER case to PSS/E RAW format.

SAVE2PSSE(FNAME, MPC)

FNAME = SAVE2PSSE(FNAME, ...)

Saves a MATPOWER case struct MPC as a PSS/E RAW file. The FNAME
parameter is a string containing the name of the file to be created
or overwritten. If FNAME does not include a file extension, '.raw'
will be added. Optionally returns the, possibly updated, filename.
Currently exports to RAW format Rev 33.