Installation

There are different ways to install SpectralAnalysis and you can choose the one that best fits your use case. The easiest method is to use the installer. If you already have MATLAB Runtime R2020a installed, then you can simply download the standalone version. Both of these work without requiring a MATLAB licence, however this cannot be modified or make use of any of the ‘advanced’ functionality. The source code version requires a valid MATLAB licence, however can perform both general and advanced functionality.

Using the Installer

  1. Download and run the latest installer.
  2. Run SpectralAnalysis.exe

Using the Standalone Version

Currently requires 64-bit Windows. If you are running 32-bit Windows and want a standalone version please contact me.

  1. Download and extract the zip file of the latest release.
  2. Download and install the R2020a (9.8) MATLAB Runtime.
  3. Download and install the Visual C++ Redistributable for Visual Studio 2015.
  4. Run SpectralAnalysis.exe

Using the Source Code Version

The source code version requires a valid MATLAB licence.

Installation with Git

  1. Clone the repository.
git clone https://github.com/AlanRace/SpectralAnalysis
  1. Open MATLAB and navigate to the folder containing the source code.
  2. Run the command runSpectralAnalysis.

Installation without Git

  1. Download the source code of the latest release.
  2. Open MATLAB and navigate to the folder containing the source code.
  3. Run the command runSpectralAnalysis.

Increase Java Heap Space

Prior to running SpectralAnalysis, it is advisable to increase the ‘Java Heap Size’ allocated to MATLAB to the maximum available. This enables larger imzML files to be opened successfully.

Compatible MATLAB Versions

If you use a currently untested version of MATLAB, please let us know any successes or issues you encounter (submit issues).

MATLAB VersionCompatibilityNotes
R2014a or newerCompatible
R2013b or olderUntested