Psychtoolbox-3 介绍#####
Psychophysics Toolbox Version 3 (PTB-3) is a free set of Matlab and GNU Octave functions for vision and neuroscience research. It makes it easy to synthesize and show accurately controlled visual and auditory stimuli and interact with the observer.
Psychtoolbox-3简称PTB-3(后文称PTB),是一款Matlab/Octave工具箱,主要用来辅助设计心理学实验。本次使用PTB,主要希望使用Screen等函数,实现对投影仪投影画面的控制。
Psychtoolbox-3 安装#####
本次Psychtoolbox的安装平台为Win10,Matlab版本为R2015a。
Psychtoolbox的安装过程在Install_Windows中已有详细步骤,以下简要说明安装细节:
-
Download Subversion installer
Windows: Subversion 1.7.x command-line client
首先必须安装SVN(Subversion)
-
Download the Psychtoolbox installer to your desktop.
下载PTB安装包,解压得到一个.m文件
Open the My Computer icon (it is either on the desktop or in the Start Menu).
打开我的电脑Double-click on the C: drive icon.
打开C盘Create a new folder called toolbox. This assumes you want to install into the toolbox folder.
新建toolbox文件夹(路径随意)以安装PTB工具箱Move the Psychtoolbox installer (DownloadPsychtoolbox) from the Desktop to the new toolbox folder.
将DownloadPsychtoolbox.m文件复制到toolbox文件夹中If you intend to use multi-media functions, you must install the 64-Bit GStreamer-1.0 runtime from gstreamer.freedesktop.org. Make absolutely sure that you install all offered packages. Read help GStreamer carefully for this purpose, before downloading and installing GStreamer.
略过You also need to install the Microsoft Runtime Libraries for MSVC 2010. You can find installers for these at Microsoft’s site beforehand. Otherwise when our installer aborted half-ways, follow the instructions it prints to the console.
略过-
Open Matlab as administrative user (for Windows 7, right-click Matlab shortcut and Run As Administrator) and type the following in the command window:
以管理员身份运行Matlab,在命令窗输入以下代码:
>> cd C:\......\toolbox
>> DownloadPsychtoolbox('C:\......\toolbox')
然后等待,大概需要10-20mins
第一次安装失败了,第二次安装成功,状态如下: