当前位置:网站首页>Matlab: psychtoolbox installation
Matlab: psychtoolbox installation
2022-04-23 20:37:00 【Zhongai0049】
Because of the need in Matlab Installation on Psychtoolbox, I first went to find some relevant experience posts , Then install as follows .
1. download DownloadPsychtoolbox.m
Here I found Psychtoolbox The official installation website :http://psychtoolbox.org/download#download-problems
The website lists in detail the handling of the old version , Corresponding installation packages for different computers , And other corresponding installation files , You can have a detailed look at , The table of Contents section is listed here
Contents
Removing Old Versions of Psychtoolbox
Installation Instructions
Linux
Windows
Mac
Alternate download as a zip file
Installation without Download
Staying Up-to-Date
More Information
Download problems
Subversion
Downgrading
Access to Archived Versions of PTB-3
(ps: I installed window edition , However, the website only lists the installation in C The way of dish )
Download the corresponding Psychtoolbox.zip file , Then open the matlab, Run the second step
2. Run the command
Switch the path to where you saved DownloadPsychtoolbox.m Where the papers are , Type... On the command line
>>DownloadPsychtoolbox(' Fill in installation here DownloadPsychtoolbox.m The path of ')
After operation, the display is as follows :
DownloadPsychtoolbox(‘E:\matlab’)
DownloadPsychtoolbox(‘E:\matlab’,‘beta’,’’, 0)
Requested flavor is: beta
Requested location for the Psychtoolbox folder is inside: E:\matlab
Using optimal client for subversion checkout.
Good. Your privileges suffice for the requested installation into folder E:\matlab.
I will now download the latest Psychtoolbox for Windows.
Requested flavor is: beta
Target folder for installation: E:\matlab
Downloading via Matlabs integrated SVNKit: This can take multiple minutes.
There may be no output to this window to indicate progress until the download is complete.
Please be patient …
Download of SVN revision 12166 succeeded!
Now adding the new Psychtoolbox folder (and all its subfolders) to your MATLAB / OCTAVE path.
Success.
Now setting permissions to allow everyone to write to the Psychtoolbox folder. This will allow future updates by every user on this machine without requiring administrator privileges.
Success.
You can now use your newly installed ‘beta’-flavor Psychtoolbox. Enjoy!
Whenever you want to upgrade your Psychtoolbox to the latest ‘beta’ version, just run the UpdatePsychtoolbox script.
appear enjoy Indicates successful installation , The relevant contents are shown later
Running post-install routine…
Creating a startup.m file for Psychtoolbox at E:\matlab\Psychtoolbox\PsychInitialize\startup.m
PsychStartup: Environment variable GSTREAMER_1_0_ROOT_MSVC_X86_64 is undefined.
PsychStartup: Either GStreamer-1.18 MSVC or a later version is not installed at all, or if it is installed, then
PsychStartup: something is botched. Trying various common locations for the GStreamer runtime to keep going.
PsychStartup: Path to GStreamer runtime is undefined! This probably means that
PsychStartup: the 64-Bit GStreamer 1.18+ MSVC runtime from www.gstreamer.net is not installed.
PsychStartup: The Psychtoolbox Screen() function will not work at all until you fix
PsychStartup: this! Read ‘help GStreamer’ for instructions.
Matlab release 2007a or later detected. Will prepend the following
folder to your Matlab path: E:\matlab\Psychtoolbox\PsychBasic\MatlabWindowsFilesR2007a\ …
*** 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.
A very simple test call to the Screen() MEX file failed in AssertOpenGL, indicating
that either Screen is totally dysfunctional, or you are trying to run your script on
a system without Psychtoolbox-3 properly installed - or not installed at all.
On Windows you must install the MSVC build runtime of at least GStreamer 1.18.0
or a later version. Screen() will not work with earlier versions, without GStreamer,
or with the MinGW variants of the GStreamer runtime!
Read ‘help GStreamer’ for more info.
Screen() does not work. Read all preceeding and following output as well as “help AssertOpenGL” for more info.
A first diagnostic test would be to simply type ‘Screen’ in your Matlab/Octave console and check what its output is.
The returned error message by Matlab/Octave was:
Last Error: MEX file ‘E:\matlab\Psychtoolbox\PsychBasic\MatlabWindowsFilesR2007a\Screen.mexw64’ Invalid : The specified module was not found . (MATLAB:mex:ErrInvalidMEXFile)
E:\matlab\Psychtoolbox\PsychOneliners\AssertOpenGL.m,80
E:\matlab\Psychtoolbox\PsychtoolboxPostInstallRoutine.m,650
E:\matlab\DownloadPsychtoolbox.m,757
NOTE: You may want to acquire paid priority support for future issues like this.
Please type ‘PsychPaidSupportAndServices’ to learn more.
Screen() failed to work for some reason:
On Windows you must install the MSVC build runtime of at least GStreamer 1.18.0
or a later version. Screen() will not work with earlier versions, without GStreamer,
or with the MinGW variants of the GStreamer runtime!
Read ‘help GStreamer’ for more info.
Check the troubleshooting instructions on our Wiki (Download section
and FAQ section, maybe also the Bugs section).
Once you manage to fix the problem (simply type ‘AssertOpenGL’ to verify
that stuff works now), you do not need to run the installation routine again,
but can start working immediately.
Press RETURN or ENTER to confirm you read and understood the above message.
GENERAL LICENSING CONDITIONS AND TERMS OF USE:
Almost all of the material contained in the Psychtoolbox-3 distribution
is free-software and/or open-source software under a OSI (http://www.opensource.org/)
approved license. Most material is covered by the MIT license or a MIT compatible license.
A few internal libraries and components are covered by other free software
licenses which we understand to be compatible with the MIT license, e.g., the GNU LGPL
license, or BSD and Apache-2.0 licenses, or they are in the public domain.
3rd-party components which are freely useable and redistributable for non-commercial
research use, due to the authors permissions, but are not neccessarily free / open-source
software, can be found in the “PsychContributed” subfolder of the Psychtoolbox distribution,
accompanied by their respective licenses.
A few components are licensed under the GNU GPL v2 license with a special linking
exception for use with Mathworks proprietary Matlab application. A very few components,
e.g., the PsychCV() function are currently covered by the standard GPL v2 license and
cannot be used with Matlab. These are only available for use with GNU/Octave.
Please read the license text and copyright info in the Psychtoolbox file
License.txt carefully before you use or redistribute Psychtoolbox-3.
Use of Psychtoolbox-3 components implies that you have read, understood and accepted
the licensing conditions.
However, in a nutshell, if you just use Psychtoolbox for your research, our licenses
don’t restrict you in any practically relevant way. Commercial users, developers or
redistributors should make sure they understood the licenses for the components they use.
If in doubt, contact one of the Psychtoolbox developers, or the original authors of the
components you want to use, modify, merge or redistribute with other software.
Your standard Psychtoolbox distribution comes without the source code for
the binary plugins (the MEX files). If you want to access the corresponding
source code, please type “help UseTheSource” for specific download instructions.
BEGINNERS READ THIS:
If you are new to the Psychtoolbox, you might try this:
help Psychtoolbox
Psychtoolbox website, which also links to a tutorial for basic use cases:
web http://www.psychtoolbox.org -browser
Please make sure that you have a look at the detailed ECVP 2013 tutorial slides
in the PDF file PTBTutorial-ECVP2013.pdf
in the Psychtoolbox/PsychDocumentation subfolder for an overview of differences
between Psychtoolbox-2 and Psychtoolbox-3 and proper use of basic features. That
folder contains various additional helpful information for use of Psychtoolbox.
Please also familiarize yourself with the demos contained in the PsychDemos subfolder
and its subfolders. They show best practices for many common tasks and are generally
well documented.
IMPORTANT NEWS:
You can now financially contribute to Psychtoolbox sustainability, upkeep and continued
improvement by buying a community membership, which also includes some priority support
for questions regarding its use, or issues you may have with it. We also offer paid
feature development and other useful commercial services.
Please type ‘PsychPaidSupportAndServices’ to learn more.
Enjoy!
Press RETURN or ENTER to confirm you read and understood the above message.
3. test
Type on the command line Screen To test , However, the following problems arise :
>> Screen
MEX file 'E:\matlab\Psychtoolbox\PsychBasic\MatlabWindowsFilesR2007a\Screen.mexw64' Invalid : The specified module was not found .
After inquiry, it is due to gstreamer The installation of does not match or is not installed , In order to avoid stepping on the pit
Can now matlab Query the corresponding gstreamer edition , stay matlab On the command line, do the following :
>>help GStreame
Because I didn't install , So the following prompt appears :
The following prompts the installation website :
Here I just intercepted window The installation address of , The second website is with matlab Suitable installation website , Download and install the corresponding version .
Appears after installation :
PsychStartup: Adding path of installed GStreamer runtime to library path. [F:\gstreamer\1.0\msvc_x86_64\bin]
This shows that GStreamer Successful positioning allows you to use its functions normally .
And retest Screen:
It's a success !
Hey , I hope I can help you !!!
版权声明
本文为[Zhongai0049]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204210547163137.html
边栏推荐
- 堡垒机、跳板机JumpServer的搭建,以及使用,图文详细
- Modeling based on catiav6
- Psychological formula for converting RGB to gray value
- go-zero框架数据库方面避坑指南
- LeetCode 74、搜索二维矩阵
- UnhandledPromiseRejectionwarning:CastError: Cast to ObjectId failed for value
- Customize timeline component styles
- Solution: NPM err! code ELIFECYCLE npm ERR! errno 1
- Thirty What are VM and VC?
- Recognition of high-speed road signs by Matlab using alexnet
猜你喜欢
LeetCode 994、腐烂的橘子
Installation and use of NVM
SQL Server connectors by thread pool 𞓜 instructions for dtsqlservertp plug-in
上海回應“面粉官網是非法網站”:疏於運維被“黑”,警方已立案
Leetcode 74. Search two-dimensional matrix
Development of Matlab GUI bridge auxiliary Designer (functional introduction)
BMP JPEG picture to vector image contourtrace
Three. Based on ply format point cloud voxel model JS upload interface writing
The construction and use of Fortress machine and springboard machine jumpserver are detailed in pictures and texts
Latest investigation and progress of building intelligence based on sati
随机推荐
Devexpress 14.1 installation record
堡垒机、跳板机JumpServer的搭建,以及使用,图文详细
Identification of bolt points in aerial photography based on perception
Scrapy教程 - (2)寫一個簡單爬蟲
GO语言开发天天生鲜项目第三天 案例-新闻发布系统二
"Meta function" of tidb 6.0: what is placement rules in SQL?
Come in and teach you how to solve the problem of port occupation
How many hacking methods do you know?
内网渗透之DOS命令
Experience of mathematical modeling in 18 year research competition
6-5 字符串 - 2. 字符串复制(赋值) (10 分)C语言标准函数库中包括 strcpy 函数,用于字符串复制(赋值)。作为练习,我们自己编写一个功能与之相同的函数。
BMP JPEG picture to vector image contourtrace
How to configure SSH public key in code cloud
黑客的入侵方式你知道几种?
Livego + ffmpeg + RTMP + flvjs to realize live video
Plato farm is one of the four largest online IEOS in metauniverse, and the transaction on the chain is quite high
Automatically fill in body temperature and win10 task plan
SQL gets the latest record of the data table
On BIM data redundancy theory
Syntaxerror: unexpected token r in JSON at position 0