Installation Instructions for the Windows Executable

Installation of the source code is very easy. Download the file, unzip the directory, point MatLab to that directory and type 'spectrofish' on the MatLab command line. SpectroFish works with MatLab v6.5 and v7.0.

The installation of the SpectroFish executable is fairly straightforward but made slightly more complicated by the fact that one has to install the MatLab math library correctly.  There are two cases, either one has MatLab 6.5 installed or not.  

Files to download.

SpectroFish executable.

Mglnstaller - necessary MatLab libraries to SpectroFish if you don't have MatLab 6.5 installed already.

SpectroFish sample files.

 

  1. If you do have MatLab 6.5 installed then you can simply download the SpectroFish zip file, unzip the zip file and double click on the 'SpectroFish.exe' icon.  That's it!

OR

  1. If you do not have MatLab 6.5 installed (or have a different version of MatLab installed then you must install the MatLab math libraries.  This involves two steps.
    1. Download the MgInstaller.exe application to a directory of your choice.  I recommend something simple like C:\MatLabLibs.  Double click on the MgInstaller application.  When you do this it will start a command prompt which will inflate various directories and libraries.
    2. You must now add the \bin\win32 directory to PATH system variable.  This can be accomplished by: 
      1. Right clicking on My Computer and clicking Properties.  Click the 'Advanced' Tab.
      2. Click the Environment Variables button at the bottom left.
      3. Choose the Path variable and hit the Edit button.
      4. Concatenate '; C:\MatlabLibs\bin\win32' to the end.
      5. Hit OK on the three opened properties panels to close them.
    3. You should now be able to double click on the SpectroFish.exe icon to run it.

Modifying the system path is are illustrated here with arrows:

 

Finally, if there is any further confusion on installing the MatLab library, here are some words from the horses mouth:

"This application installs the MATLAB Math and Graphics Run-Time Libraries.
These libraries are necessary to run applications built with the MATLAB
Compiler, Math Library, or Graphics Library. Use of this installer and files
installed by it are governed by The MathWorks, Inc. Software License Agreement,
and by the application license for the application with which it was bundled.

Once this installer has finished, you must add the directory <MGRTL>\bin\win32
to your PATH environment variable, where <MGRTL> represents the directory to
which you chose to install the run-time libraries. If you have a MATLAB
directory (from a MATLAB installation) on your PATH, you must add the
run-time libraries directory to the PATH before the MATLAB directory.

Note: If you already have installed the run-time libraries for another
application, you do not need to reinstall them. Simply make sure that
your PATH is configured correctly as mentioned above."