Installing and running the programs in MATLAB

Note: Some features in the software exploit functions only supported by newer MATLAB versions. It is recommended getting the MATLAB version in which the software was tested or simply getting the latest version of MATLAB as possible.

None of the MATLAB programs need to be installed but are run directly from directory. The programs automatically add the necessary folders to MATLAB's search path when loading the GUI. The paths are removed once the GUI is exited.

Running GUIs in MATLAB can be done in two ways

Method 1:

  1. Open the main .m file of the program in the MATLAB editor (e.g. double-click ae.m for a|e, or double-click decayfit.m for DecayFit).

    1. When the file is open in the MATLAB editor press F5 to run the program (or press the green run-button in the Editor toolbar).

This should open the GUI.

In MATLAB R2012b and newer versions, the Editor window looks like this:

In MATLAB R2012a and older versions, the Editor window looks like this:

If a dialog is opened regarding the MATLAB path, select 'Change Folder':

Method 2:

    1. Open MATLAB.

    2. Make the program folder your current directory.

    3. In the MATLAB command window, type the name of the main .m file associated with the program (e.g. ae for a|e, or decayfit for DecayFit).

    4. Press enter.

This should open the GUI.

In MATLAB R2012b and newer versions, method 2 looks something like this:

In MATLAB R2012a and older versions, method 2 looks something like this:

If the program does not open properly, or acts unexpectedly, you can see this page on common installation issues.