Downloading and running all Matlab programs
The file to be downloaded and expanded is allfiles.tar, a file produced
by the UNIX program tar, which conglomerates many files into one.
Slightly different procedures need to be followed depending on what computer
you're using.
On a Macintosh in the Scientific Computing Lab:
-
Launch Internet Explorer and open m165-93.bgsu.edu/~zirbel/rfim
-
Click the link for allfiles.tar.
-
Internet Explorer's Download Manager will appear and the file allfiles.tar
will be stored in some strange folder somewhere.
-
In Download Manager, double click allfiles.tar, then click on the button
Reveal in Finder. Now you can see where allfiles.tar was put.
-
Stuffit Expander should have already untarred the file allfiles.tar and
put the various files it contains into a folder called something like allfiles
Folder.
-
Drag this folder onto the desktop. If you look at the contents, you
will see a bunch of .m files, which the Macintosh incorrectly assumes are
Mathematica files.
-
Start Matlab by pulling down the Apple menu, Applications, Matlab 5.2.
-
In Matlab, File, Open, Desktop, allfiles Folder, and select something like
trigfield1.m.
-
Once you have opened one program from this folder, you can run any program
from this folder by typing its name in the Matlab command window.
On a Macintosh in Room 401:
-
Launch Internet Explorer and open m165-93.bgsu.edu/~zirbel/rfim
-
Click the link for allfiles.tar.
-
Internet Explorer's Download Manager will appear and the file allfiles.tar
will be stored either on the desktop or in some strange folder somewhere.
-
If the file is not put on the desktop, in Download Manager, double click
allfiles.tar, then click on the button Reveal in Finder. Now you
can see where allfiles.tar was put. Drag it onto the desktop.
-
You need to use Stuffit Expander to untar allfiles.tar. Launch Stuffit
Expander by looking under the Apple menu, either under Recent Applications
or by using Sherlock to find it.
-
In Stuffit Expander, choose File, Expand, and select allfiles.tar.
It will probably create a folder called allfiles Folder on the desktop.
If you look at the contents, you will see a bunch of .m files.
-
Start Matlab by pulling down the Apple menu, Applications, Matlab 5.2.
-
In Matlab, File, Open, Desktop, allfiles Folder, and select something like
trigfield1.m.
-
Once you have opened one program from this folder, you can run any program
from this folder by typing its name in the Matlab command window.
On a UNIX machine such as gauss, euler, or bgunix:
-
Make sure you have a directory to put the files in. I suggest using
"mkdir rfim" . Then change to that directory with "cd rfim".
-
Launch Netscape by typing "netscape &" at the command line. The
& will cause it to run in the background, allowing you to type further
commands.
-
Open m165-93.bgsu.edu/~zirbel/rfim
-
Click the link for allfiles.tar.
-
Netscape will ask you where you want to save this file. Specify the
directory you created above, and use the name allfiles.tar
-
In the UNIX command window, untar the file with the command "tar -xvf allfiles.tar".
-
Launch an editor so you can make changes to the files. I suggest
"jot"
-
Now launch Matlab by typing "matlab".
-
You can run programs by typing their name at the command window.
Try "trigfield1"