|
Gdxxrw |
Top Previous Next |
|
Gdxxrw is a GAMS Corporation developed utility to read and write Excel spreadsheet data using GDX files. In turn the associated GDX files can be read or written by GAMS as discussed in the Using GAMS Data Exchange or GDX Files chapter. Gdxxrw is designed to be called from a DOS prompt. It can also be invoked using the GAMS $Call or Execute commands as discussed above. There are a lot of options involved with Gdxxrw that are described in the document GDX facilities in GAMS at gdxutils.pdf. Here I just give a broad treatment of the most important. Starting with Excel 2007, Microsoft introduced additional file extensions for Excel spreadsheets. The new .xlsx and .xlsm formats allows for more rows and columns in the spreadsheet data. When using Excel 2007 or a later version, GDXXRW will write an Excel files as a .xlsx file unless a different file extension is specified for the output file. Gdxxrw uses command line arguments. The basic calling sequence is
Gdxxrw Inputfile Output=filename options
where
Notes:
|