Psychtoolbox-3 / PTB-3 for Matlab 安装

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中已有详细步骤,以下简要说明安装细节:

  1. Download Subversion installer
    Windows: Subversion 1.7.x command-line client
    首先必须安装SVN(Subversion)

    Psychtoolbox-3 / PTB-3 for Matlab 安装_第1张图片
    SVN下载

  2. Download the Psychtoolbox installer to your desktop.
    下载PTB安装包,解压得到一个.m文件

    Psychtoolbox-3 / PTB-3 for Matlab 安装_第2张图片
    DownloadPsychtoolbox.m

  3. Open the My Computer icon (it is either on the desktop or in the Start Menu).
    打开我的电脑

  4. Double-click on the C: drive icon.
    打开C盘

  5. Create a new folder called toolbox. This assumes you want to install into the toolbox folder.
    新建toolbox文件夹(路径随意)以安装PTB工具箱

  6. Move the Psychtoolbox installer (DownloadPsychtoolbox) from the Desktop to the new toolbox folder.
    将DownloadPsychtoolbox.m文件复制到toolbox文件夹中

  7. 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.
    略过

  8. 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.
    略过

  9. 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
    第一次安装失败了,第二次安装成功,状态如下:

    Psychtoolbox-3 / PTB-3 for Matlab 安装_第3张图片

    Psychtoolbox-3 / PTB-3 for Matlab 安装_第4张图片

    Psychtoolbox-3 / PTB-3 for Matlab 安装_第5张图片

    Psychtoolbox-3 / PTB-3 for Matlab 安装_第6张图片

    Psychtoolbox-3 / PTB-3 for Matlab 安装_第7张图片

    Psychtoolbox-3 / PTB-3 for Matlab 安装_第8张图片

    Psychtoolbox-3 / PTB-3 for Matlab 安装_第9张图片

    Psychtoolbox-3 / PTB-3 for Matlab 安装_第10张图片

    Psychtoolbox-3 / PTB-3 for Matlab 安装_第11张图片

    Psychtoolbox-3 / PTB-3 for Matlab 安装_第12张图片


参考资料#####

PTB-3 安装手册
Psychtoolbox-3

你可能感兴趣的:(Psychtoolbox-3 / PTB-3 for Matlab 安装)