SIR Model -- Matlab Files

Downloading Matlab Files

Matlab often requires more than one ".m" file for all the steps in a module. The necessary files for this module have been "packaged" into a single file for downloading. If you know what file type you need and what to do with it, you may download now by selecting from the following table. If you are not sure, please read the detailed instructions following the table.
Windows Unix/Linux Macintosh (5K)  sir.tar.gz (3K)   
sir.exe (28K)  sir.tar (31K)  sir.sea.hqx (38K) 

Instructions for Downloading/Extracting Matlab Files

Please select from the following list your preferred form for downloading. Then save the downloaded file to the directory of your choice, and follow the instructions for "unpacking" it. After you have saved your .m files, do the following:
  1. Start Matlab.
  2. If you saved your files in a directory that is not already in Matlab's path, use the addpath command to add your directory to the Matlab path.
  3. Open a diary file in Matlab in order to save your work.
  4. Open the first file for this module by typing on the Matlab command line:

  5. sir1
  6. Start Part 1 of the module by clicking the Forward /graphics/button (or, if you prefer, return to Contents by clicking the Back /graphics/button).

Close this page to return to the index page of the module.