Back to RAFOSgui Page

Installing and running RAFOSgui

Running the GUI as a MATLAB stand-alone application requires MATLAB run-time libraries.

If the MATLAB math and graphics run-time libraries are already installed on your computer, it is not necessary to reinstall them.
Just ensure that the library search path is configured correctly.

You will need about 130 MB of disk space to download, unpack and install the RAFOSgui as a stand-alone MATLAB application.

The installation procedure is as follows:

To easily "uninstall" the RAFOSgui from your system at any time, simply delete the directory in which you have put all the GUI files. This will cleanly clear the RAFOSgui from your system.
Step 1: Download and Unpack RAFOSgui

Download the RAFOSgui.zip file. When the download is complete, compare the (byte) size of the downloaded file to that of the original file (shown in the Download Area). If the downloaded file is uncorrupted, use your system's unzip software to unpack it. Otherwise, repeat this step.


Step 2: Install MATLAB Compiler Run-Time Libraries

If you already have the MATLAB math and graphics run-time libraries installed on your computer, you do not need to reinstall them.
Just ensure that the library search path is configured correctly.

To install the MATLAB Compiler Run-Time Library double-click on the mginstaller.exe file in the RAFOSgui folder. Specify into which directory you wish to install the libraries, or the installer will automatically put the files in the current directory. "Uninstall" the RAFOSgui from your system at any time by deleting this directory.


Step 3: Update the PATH variable

The installer will extract the libraries from the archive and install them in subdirectories of the current or a specified directory.

Once the installer has finished, you must add the directory XXXXX\bin\win32 to the PATH environment variable, where XXXXX represents the directory in 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 ahead of the MATLAB directory.

You do not need to set the PATH permanently. Instead, use the MS-DOS batch file start_traj.bat from the RAFOSgui folder to run the GUI. But don't forget to edit this file before using it!


Step 4: Run RAFOSgui

Use start_traj.bat to set the PATH to the MATLAB run-time libraries and start the GUI or traj.exe to start the GUI only (when the PATH has already been set). It is probably best to run the RAFOSgui from a DOS command window the first time.

This problem (for details, see The MathWorks Technical Solutions) may arise, where, running the application from a DOS command window, you may get the following error message:

The ordinal #### could not be located in the dynamic-link library dforrt.dll.

To fix the problem, locate the files named dforrt.dll or dformd.dll in your Windows system directory and replace them with the versions of these files you find in the XXXXX\bin\win32 directory, where XXXXX is the name of the directory in which you installed the MATLAB Math and Graphics Run-Time Libraries.

Go to Download Area: download, unpack, install and run the GUI offline.