# Error downloading psychtoolbox 3.0.11 in MatLab R2015b 32-bit Windows

**URL:** <https://psychtoolbox.discourse.group/t/error-downloading-psychtoolbox-3-0-11-in-matlab-r2015b-32-bit-windows/4471>\
**Category:** Hardware\
**Tags:** windows\
**Created:** [June 9, 2022, 8:07pm UTC](https://psychtoolbox.discourse.group/t/error-downloading-psychtoolbox-3-0-11-in-matlab-r2015b-32-bit-windows/4471 "2022-06-09T20:07:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![djcvan](https://avatars.discourse-cdn.com/v4/letter/d/96bed5/32.png) [@djcvan](https://psychtoolbox.discourse.group/u/djcvan)\
**Post date:** [June 9, 2022, 8:07pm UTC](https://psychtoolbox.discourse.group/t/error-downloading-psychtoolbox-3-0-11-in-matlab-r2015b-32-bit-windows/4471/1 "2022-06-09T20:07:16Z")

</div>

Hello everyone! I am new to MatLab and psychtoolbox and am attempting to download psychtoolbox onto an old 32-bit Windows 7 computer. Here is what I have done so far. I would greatly appreciate any insight or help into solving this problem.

1. Create path ‘C:\MyToolboxes\’ in file explorer
2. Getting a hold of the correct Psychtoolbox file for R2015b 32-bit
  - went to → ([SetupPsychtoolbox is no longer supported in 32-bit Windows Matlab?](https://psychtoolbox.discourse.group/t/setuppsychtoolbox-is-no-longer-supported-in-32-bit-windows-matlab/3220)) and got the file below
  - Psychtoolbox 3.0.11 file: [https://github.com/Psychtoolbox-3/Psychtoolbox-3/archive/Psychtoolbox-3.0.11.zip](https://github.com/Psychtoolbox-3/Psychtoolbox-3/archive/Psychtoolbox-3.0.11.zip)
  - Extract the zipped Psychtoolbox-3.0.11 file into C:\MyToolboxes
  - Change file name to ‘Psychtoolbox-3.0.11’

3. I then punched in the following code:

> > DownloadPsychtoolbox(‘C:\MyToolboxes\Psychtoolbox-3.0.11’,‘Psychtoolbox-3.0.11’,‘Psychtoolbox-3.0.11’,0,1)

"Target revision: Psychtoolbox-3.0.11

Hmm, requested flavor is the unusual flavor: Psychtoolbox-3.0.11  
Either you request something exotic, or you made a typo?  
We will see. If you get an error, this might be the first thing to check.  
Press any key to continue…  
DownloadPsychtoolbox(‘C:\MyToolboxes\Psychtoolbox-3.0.11’,‘Psychtoolbox-3.0.11’,‘Psychtoolbox-3.0.11’, 0, 1)  
Requested flavor is: Psychtoolbox-3.0.11  
Requested location for the Psychtoolbox folder is inside: C:\MyToolboxes\Psychtoolbox-3.0.11  
Using optimal client for subversion checkout.

Good. Your privileges suffice for the requested installation into folder C:\MyToolboxes\Psychtoolbox-3.0.11.

Hmm. You already have an old Psychtoolbox folder:  
C:\MyToolboxes\Psychtoolbox-3.0.11\Psychtoolbox  
That old Psychtoolbox should be removed before we install a new one.  
First we remove all references to “Psychtoolbox” from the MATLAB / OCTAVE path.  
Success.  
Now we delete “Psychtoolbox” itself.  
Success.

Your old Psychtoolbox appears in the MATLAB / OCTAVE path:  
Your old Psychtoolbox appears 997 times in the MATLAB / OCTAVE path.  
You didn’t say “yes”, so I’m taking it as no.  
Success.

I will now download the latest Psychtoolbox for Windows.  
Requested flavor is: Psychtoolbox-3.0.11  
Target folder for installation: C:\MyToolboxes\Psychtoolbox-3.0.11  
**Error using DownloadPsychtoolbox\>svndownload (line 815)**  
**Invalid ‘targetRevision’ parameter ‘Psychtoolbox-3.0.11’ specified. Not a valid**  
**revision spec!**

**Error in DownloadPsychtoolbox (line 736)**  
**svndownload(targetRevision, dflavor, p, downloadmethod);**"

I messed around a bunch trying to figure out different combinations but none were successful. Let me know if you guys have encountered this problem in the past.

---

<div class="post-metadata">

**Author:** ![dcnieho](https://avatars.discourse-cdn.com/v4/letter/d/779978/32.png) [@dcnieho](https://psychtoolbox.discourse.group/u/dcnieho)\
**Post date:** [June 9, 2022, 9:58pm UTC](https://psychtoolbox.discourse.group/t/error-downloading-psychtoolbox-3-0-11-in-matlab-r2015b-32-bit-windows/4471/2 "2022-06-09T21:58:02Z")

</div>

you shouldn’t run downloadpsychtoolbox, but setuppsychtoolbox in the folder that you unzipped

---

<div class="post-metadata">

**Author:** ![djcvan](https://avatars.discourse-cdn.com/v4/letter/d/96bed5/32.png) [@djcvan](https://psychtoolbox.discourse.group/u/djcvan)\
**Post date:** [June 10, 2022, 9:28pm UTC](https://psychtoolbox.discourse.group/t/error-downloading-psychtoolbox-3-0-11-in-matlab-r2015b-32-bit-windows/4471/3 "2022-06-10T21:28:53Z")

</div>

For anyone wondering how to do it, I have attached what I did:

1. Create path ‘C:\MyToolboxes\’ in file explorer
2. Getting a hold of the correct Psychtoolbox file for R2015b 32-bit
  1. [SetupPsychtoolbox is no longer supported in 32-bit Windows Matlab?](https://psychtoolbox.discourse.group/t/setuppsychtoolbox-is-no-longer-supported-in-32-bit-windows-matlab/3220)
  2. Psychtoolbox 3.0.11 file: [https://github.com/Psychtoolbox-3/Psychtoolbox-3/archive/Psychtoolbox-3.0.11.zip](https://github.com/Psychtoolbox-3/Psychtoolbox-3/archive/Psychtoolbox-3.0.11.zip)
  3. Extract the zipped Psychtoolbox-3.0.11 file into C:\MyToolboxes
  4. Change file name to ‘Psychtoolbox-3.0.11’

3. Downloading Psychtoolbox for R2015b 32-bit
  1. DownloadPsychtoolbox(‘C:\MyToolboxes\Psychtoolbox-3.0.11’,’Psychtoolbox-3.0.11’)

4. Restart Matlab after it finishes downloading
5. type - C:\MyToolboxes\Psychtoolbox-3.0.11\Psychtoolbox\SetupPsychtoolbox.m
6. 

> > SetupPsychtoolbox

7. Type ‘no’ when asked to delete paths
8. Shall I delete all those instances from MATLAB/OCTAVE path? Type ‘yes’
9. “\*\*\* Matlab’s Static Java classpath definition file modified. You will have to restart Matlab to enable use of the new Java components. \*\*\*” Press RETURN or ENTER to confirm you read and understood the above message. Hit ‘ENTER’
10. It will give you a message that says “Done with post-installation. Psychtoolbox is ready for use.”

---

<div class="post-metadata">

**Author:** ![mariokleiner](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@mariokleiner](https://psychtoolbox.discourse.group/u/mariokleiner)\
**Post date:** [June 10, 2022, 11:56pm UTC](https://psychtoolbox.discourse.group/t/error-downloading-psychtoolbox-3-0-11-in-matlab-r2015b-32-bit-windows/4471/4 "2022-06-10T23:56:14Z")

</div>

All you needed was steps 1 and 3, with the DownloadPsychtoolbox file from our website. Everything else was just you creating busywork for yourself.

Or 1, 2 and 6 if you decided to download the zip file instead, for a download that is much larger.

-mario
