This page walks through Matlab and Github setup and then provides an introduction to CAN Lab object-oriented tools. Here is a Quick start walkthrough.
You can install Matlab from the Mathworks website. Free trial versions are available. You will need two toolboxes: The statistics and machine learning toolbox and the signal processing toolbox.
Install Statistical Parametric Mapping (SPM)
Our toolboxes use SPM’s image reading and writing functions, and the spm_orthviews viewer. SPM is a free download from their site
Install CANlab core tools from Github
There are two options for this step: 1) Download a .zip file with the code, or 2) Install Github on your computer and Clone the repository (recommended). With the 2nd option you will get updates, but it requires more steps and some knowledge of how Github works.
First, go to the Github CANlab tools site:
Using the green “Clone or Download” drop down you can either download a zip file of the repository or clone using git with a web URL for the repository (these are options 1 and 2 above, respectively). You can download other repositories this way, or use the quick-start walkthrough below.
There is a Matlab script in the CanlabCore repository that will help download the repositories you need from Github and add them to your Matlab path. This walkthough shows you how to do it:
The CANlab imaging analysis tools consist of a set of linked repositories. Links and descriptions are on the repositories page