Download
PsPM is tested on Matlab 2020 and higher. Most command-line functions will also run in previous Matlab versions.
Download latest version: PsPM installer
- Download the installer into an arbitrary directoy
- Open Matlab.
- Navigate to the directory into which you downloaded the installer, and type “pspm_installer” at the command line. In the next dialogue, you can optionally download the GLM and DCM tutorial data set.
- Start the GUI by typing “pspm” in the matlab command line
Download any version directly from github
- List of available versions
- For the chosen version, download the file PsPM_v…zip
- Unzip into any directory.
- Put the unzipped “PsPM” directory on the matlab search path, using “Set path” (without subfolders) or by typing addpath(‘folder’)
- Start the GUI by typing “pspm” in the matlab command line
Clone the development source code from the github repository
- Navigate to the repository
- Click on “code” and copy the clone URL. Use https for an anomymous clone. For ssh, you need a github account with a linked ssh key pair.
- Open a terminal.
- Navigate to a folder of your choice.
- Type “clone
", inserting the URL you copied in step 2. - Put the “src” subdirectory onto the matlab search path.
- Start the GUI by typing “pspm” in the matlab command line