CONN is actively developed and maintained, and the full source code is available through our GitHub repository @ github.com/alfnie/conn
While official releases are distributed through the CONN website and NITRC, advanced users and developers are encouraged to use git to clone the repository and keep their local installation synchronized with the latest updates. Using git allows you to stay up to date with the most recent improvements and bug fixes, track code changes across versions, test development features prior to official releases, or maintain a customized fork while still merging upstream updates.
What you need first
Matlab: Matlab is a high-performance programming language and interactive computing platform for engineering and scientific applications. Follow this link to purchase and install Matlab: https://www.mathworks.com/downloads/ (note: only Matlab base is necessary to use CONN&SPM, no other toolboxes are needed)
Git: Git is a free and open source distributed version control system. If you are on a Mac or a Linux machine Git will already come pre-installed on your machine. If you are on a Windows machine follow this link to install Git: https://github.com/git-guides/install-git.
Step 1: Launch a terminal window and type (or copy&paste) the following syntax:
git clone https://github.com/alfnie/conn ~/software/conn
Step 2: Launch Matlab and type (or copy&paste) the following syntax on Matlab's command-window:
addpath ~/software/conn
savepath
You are done! To start CONN from Matlab simply type conn on Matlab's command-window
Step 1: Launch a terminal window and type (or copy&paste) the following syntax:
git clone https://github.com/spm/spm ~/software/spm
Step 2: Launch Matlab and type (or copy&paste) the following syntax on Matlab's command-window:
addpath ~/software/spm
savepath
You are done! To start SPM from Matlab simply type spm fmri on Matlab's command-window
To update an existing CONN installation to the latest development version, launch a terminal window and type the following syntax:
cd ~/software/conn
git pull
To update an existing SPM installation to the latest development version, launch a terminal window and type the following syntax:
cd ~/software/spm
git pull
(note: CONN&SPM will be installed to your home directory within a software subdirectory; modify the segments "~/software" to your desired installation folder to change this behavior)