Mass Univariate ERP Toolbox: installing the Mass Univariate Toolbox
- Installing the Mass Univariate Toolbox<-You are here
- Creating GND variables from EEGLAB set or ERPLAB erp files
- Within-subject t-tests
- Between-subject t-tests
- General advice
Installing the Mass Univariate Toolbox
The Mass Univariate Toolbox is simply a set of MATLAB functions. To use them, you simply need to:
- Download the zip file
- Unzip it
- Put the folder of files someplace sensible (e.g., in your "MATLAB" directory)
- Add the folder to the set of "paths" MATLAB searches when trying to answer a function call
The sections below cover these steps in a bit more detail:
Download the zip file
You can download the zip file containing all the toolbox functions from:
The file will be called mass_uni_toolbox.zip.
Unzip the zip file
You should be able unzip the file by double clicking it or by using the UNIX command unzip. For example:
>mv mass_uni_toolbox.zip mass_uni_toolbox/.
Put the file someplace sensible
You can put your mass_uni_toolbox folder anywhere. It does not need to be in your EEGLAB or ERPLAB directories, but it's probably a good idea to put it in a folder with other MATLAB files and folders.
Add the folder to the set of "paths" MATLAB searches
An easy way to add your mass_univariate_toolbox folder to the set of paths MATLAB searches is to select the Set Path option from the MATLAB File menu on the MATLAB GUI Toolbar:
You will then see the list of directories MATLAB currently searches. Select Add Folder:
Then navigate to and select your mass_univariate_toolbox folder in the menu that pops up:
Then click Open:
Finally, click the Save button on the menu:
Now your mass_univariate_toolbox folder should be part of your default set of MATLAB paths whenever you start MATLAB. To double check that this worked, enter the following into the MATLAB command line:
MATLAB should respond by printing the path and filename of that function:
An alternative way to add a directory to the set of paths MATLAB searches is by creating a script called startup.m in your home MATLAB directory and using the MATLAB function addpath.m. For more information on how this works see the following pages on the Mathworks website:
Use whichever method you find easier.
Updating the Mass Univariate Toolbox
From time-to-time we will update the toolbox to add new functionality or to fix bugs. To install a new version of the toolbox, simply delete your old mass_uni_toolbox directory and replace it with the new one.