This manual should help you to successfully install **Psychtoolbox** in your Matlab. This instructions are created mainly for Windows, but you can find details on installing Psychtoolbox also for other OS, please follow this [website](http://psychtoolbox.org/download.html)
This manual should help you to successfully install **Psychtoolbox** in your Matlab. This instructions are created mainly for Windows, but you can find details on installing Psychtoolbox also for other OS, please follow this [website](http://psychtoolbox.org/download.html)
*Installation successfully conducted on Windows machine, 64-bit with Matlab version R2020b, license label Matlab(Individual)*
## Steps
## Steps
...
@@ -17,7 +19,7 @@ This manual should help you to successfully install **Psychtoolbox** in your Mat
...
@@ -17,7 +19,7 @@ This manual should help you to successfully install **Psychtoolbox** in your Mat
- Download and install **GStreamer** [here](https://gstreamer.freedesktop.org/download/). Download the **MSVC** version, not MinGW. If there are some problems with the installation, check this [website](http://psychtoolbox.org/docs/GStreamer)
- Download and install **GStreamer** [here](https://gstreamer.freedesktop.org/download/). Download the **MSVC** version, not MinGW. If there are some problems with the installation, check this [website](http://psychtoolbox.org/docs/GStreamer)
- You'll also need to download **Microsoft Runtime Libraries for MSVC 2015-2019** (you can find the link in section for windows installation in point 4., [here](http://psychtoolbox.org/download.html))
- You'll also need to download **Microsoft Runtime Libraries for MSVC 2015-2019** (you can find the link in section for windows installation in point 4., [here](http://psychtoolbox.org/download.html))
- Importantly, download the Psychtoolbox installer, also the official website, in section for windows installation, point 2., [here](http://psychtoolbox.org/download.html). They advice to download it to your desktop, but I didn't and perhaps it's not so essential.
- Importantly, download the **Psychtoolbox installer**, also the official website, in section for windows installation, point 2., [here](http://psychtoolbox.org/download.html). They advice to download it to your desktop, but I didn't and it works fine. Maybe it's not essential.
5. Go back to your Matlab, it should be still opened as administrator.
5. Go back to your Matlab, it should be still opened as administrator.
6. enter following:
6. enter following:
...
@@ -27,13 +29,13 @@ This manual should help you to successfully install **Psychtoolbox** in your Mat
...
@@ -27,13 +29,13 @@ This manual should help you to successfully install **Psychtoolbox** in your Mat
>>DownloadPsychtoolbox('C:\toolbox')
>>DownloadPsychtoolbox('C:\toolbox')
```
```
It's possible that at this point it already runs fine, it will just take a bit of time. If yes, then you just need to close and open Matlab again and verify if you have it installed by `PsychtoolboxVersion` command.
It's possible that at this point it's already installing, it will just take a bit of time. If yes, then you just need to close and open Matlab again and verify if you have it installed by `PsychtoolboxVersion` command.
I have been asked if I want to delete the downloaded version, you can try to delete it first and if it's not working, you can choose not to. In that case you will be installing *beta* version. For me it works ok on the beta version.
During the installation, I have been asked if I want to delete the downloaded version, you can try to delete it first and if it's not working, you can choose not to. In that case you will be installing *beta* version. For me it works ok on the beta version.
In case you manage to download and install psychtoolbox, I suggest you to try running a basic demo from this [website](https://peterscarfe.com/totallyminimaldemo.html). I copied it below as well. In case you will have some synchronisation problems, just add at the beginning `Screen('Preference', 'SkipSyncTests', 1);`, otherwise copy this version. This should display a gray screen, that's it.
In case you manage to download and install psychtoolbox, I suggest you to try running a basic demo from this [website](https://peterscarfe.com/totallyminimaldemo.html). I copied it below as well. In case you will have some synchronisation problems, just add at the beginning of the script this command `Screen('Preference', 'SkipSyncTests', 1);`, otherwise copy this version. This short demo should display a grey screen, that's it. So if you are looking at grey screen, you are fine:)