claffey_matlab > Installing
Downloading
To download claffey_matlab, you must have SVN installed. If you aren't sure if you have SVN, see Requirements below.
1. Create a folder where you would like to install claffey_matlab
"claffey_matlab" is the recommended name, but it can
be anything. Do not use a location that has any spaces in the path.
2. Open a command line terminal
Mac OS: Applications > Utilities > Terminal
Windows: Start > Run... and type "cmd"
3. Navigate into the folder you created for claffey_matlab
4. Enter and run the following command:
svn checkout http://svn2.xp-dev.com/svn/claffey_matlab/trunk/ . --username claffeyguest --password claffeyguest
If you are prompted to accept or reject a security certificate, you should accept it permanently by typing "p" and enter.
The command may take up to a few minutes to execute depending on
connection speed and you should see a stream of output. The last line of
the output should be "Checked out revision XX." where XX is a number.
5. Open Matlab and navigate to the folder you created for claffey_matlab
6. Type and run the command claffey_matlab
7. Click on "Update Matlab Path"
8. Type and run the command how_are_you
. This will point out any concerns with your installation, including a known bug with matlab datasets.
Requirements
- claffey_matlab was written for Matlab 2007a, so there may be
reduced compatibility with earlier and later versions. A large number of
functions depend on having the stats toolbox installed (for the dataset
class).
- claffey_matlab was written for a Mac OS 10.4 installation, with various adaptations for PC.
- Many of the functions require PsychToolbox to run. Download instructions are here.
- Downloading and updating claffey_matlab requires SVN. Installing SVN is part of the installation for PsychToolbox, so if you have PsychToolbox, you already have and are using SVN.
Troubleshooting
If you encounter:
-bash: svn: command not found
svn is either not installed or not in your system path. If you can find
it on your system, the best solution is to add it to your path. However,
a work around is to run step 4 above with the fully specified svn path.
For example, if your copy of svn is in /usr/local/bin, run the command
/usr/local/bin/svn checkout
http://svn.xp-dev.com/svn/mclaffey-claffey_matlab/trunk/ . --usernameclaffey guest --password claffeyguest
Copyright 2013 Mike Claffey