There are many useful GAMS resources available to you both on-line and as hard copy. The following links summarize GAMS documentation to get you started.
You can obtain a free demonstration (downsized) version of GAMS from the GAMS download site. If you go to this site you will be asked to fill out a brief form. After submitting this form you will be sent login information and a password that will enable you to download the demo version. Links to installation notes (PDF) are provided on the GAMS download site. Additional information about GAMS as well as on-line documentation can be found on the GAMS home page or through the GAMS support line email@example.com.
To run MATLAB® from a Windows® PC:
MATLAB® may be started from a shortcut or from the Windows® Start button. This will bring up the MATLAB® command/desktop window with the MATLAB® prompt >>.
You can specify the path name that MATLAB® uses to search for program or data files in the current directory text box near the top of the command window. You can also save a set of path names that are routinely searched by selecting the Set Path... and then Add Folder... from the File pulldown menu.
Entering MATLAB® commands:
Interactive mode - Run individual MATLAB® commands directly from the command window.
Batch mode - Run a series of commands (a program) all at once. These commands are stored in a text file identified with a .m suffix.
To create or modify program files for batch mode use the MATLAB® editor. To start the MATLAB® editor window from the main MATLAB® window select New and then M-file from the File pulldown menu in the desktop window or enter the command edit from the command line. To edit an existing file select open and select the appropriate file or enter edit followed by the file name.
A batch mode MATLAB® program can take the form of a script or a function:
A script runs much as if you were typing the program statements in the command window. In particular, the values of all variables are retained in memory and are accessible even after the program has run.
A function is similar, except that only designated variables are available outside the function.
You can run a script or function by typing the name of its file (without the .m suffix) in the MATLAB® command window. For example, if your program is stored in the file myprogram.m then you run it by entering:
Depending on the display options you chose the results of the computations will be shown in the main MATLAB® window, plotted in a separate plot window, or written to another file.
Help within MATLAB®:
Typing helpdesk at the MATLAB® prompt will bring up the MATLAB® Helpdesk. This is a Web page based version of the MATLAB® documentation/manuals.
Typing help [command] at the MATLAB® prompt will give you a brief explanation of [command].
If you don't know what command you are confused about, typing help at the MATLAB® prompt will give you a list of categories. Then typing help [category] will produce a list of commands in [category]. For example, one of the categories is graphics. Typing help graphics produces a list of the MATLAB® graphics commands.
MathWorks Homepage: The makers of MATLAB®. Information on acquiring MathWorks products plus links to documentation, etc.
MathWorks Support: This is a useful site that has technical information, Web version of Helpdesk, and a downloadable user-library of scripts. Everything you ever dreamed of knowing about MATLAB®, plus you can always email MathWorks.