解决psychtoolbox中Invalid MEX-file '...\Psychtoolbox\PsychBasic\MatlabWindowsFilesR2007a\Screen.mexw64': 找不到指定的模块
这个问题找了很久没有解决,现在来说明一下我的方案:
1.运行psychtoolbox\SetupPsychtoolbox.m文件进行修复,里面会提示
On Windows you must install the MSVC build runtime of at least GStreamer 1.16.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.
2.安装https://gstreamer.freedesktop.org/download/,MSVC 64-bit (VS 2019) 1.16.2 runtime installer
3.再次运行SetupPsychtoolbox.m文件修复即可。