Download
Matlab
PsPM should be used with Matlab 2020b or higher. We recommend using a newer Matlab version when possible. Most command-line functions will also run in previous Matlab versions.
The following Matlab toolboxes are required for full functionality:
Install these toolboxes together with Matlab or add them later via Matlab Add-Ons.
Download latest version: PsPM installer
- Download the installer into an arbitrary directory
- 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 anonymous 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 “git 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