Installation

Requirements

DeerLab requires MATLAB, version R2017a or later. No additional tooboxes are required, but if the Optimization Toolbox is installed, DeerLab will make use of it.


Setup

In order for MATLAB to access the DeerLab API functions, the path to DeerLab installation folder must be set.

Method A) Add DeerLab path via MATLAB’s IDE
  1. On the Home tab, in the Environment section, click Set Path.

    _images/installation1.png
  2. Click Add with Subfolders... and select the DeerLab\functions directory.

    _images/installation2.png
  3. Click Save to save the current MATLAB search path and exit via Close.


Method B) Add DeerLab path at startup
  1. Open (or create) the startup.m file in the default \MATLAB directory.
  2. Add the following lines of code:
addpath('mypath/DeerLab/functions')
  1. Save startup.m and restart MATLAB.