Error trying to use Psychophysics toolbox

Hi


I am a new research student and I am trying to set up Psychophysics toolbox to use for my research.  I have MATLAB installed on my laptop and I have tried to download and install the Psychophysics toolbox.  I have also download gstreamer.


I can see the directory structure etc. inside MATLAB and following a simple tutorial I have found I tried the following commands with the errors shown-


PsychStartup: Adding path of installed GStreamer runtime to library path. [C:\gstreamer\1.0\x86_64\bin]

>> cd C:\toolbox
>> whichScreen=0;
>> window=Screen(whichScreen,'OpenWindow');
Invalid MEX-file 'C:\toolbox\Psychtoolbox\PsychBasic\MatlabWindowsFilesR2007a\Screen.mexw64': The specified module could not be found.


Any idea what has gone wrong?  I have tried to swap these files but still get the error message.

Jim F

Try to CD into C:\toolbox\Psychtoolbox\ in MATLAB and rerun SetupPsychtoolbox.m — and if you are using a new PTB perhaps you need to reinstall GStreamer as there is now a hard requirement for Windows users for the MSVC version, typing "help GStreamer" tells us that:

For MS-Windows: 64-Bit Intel MSVC runtime v1.16.0 for use with 64-Bit Matlab/Octave.
 
  <https://gstreamer.freedesktop.org/data/pkg/windows/1.16.0/gstreamer-1.0-msvc-x86_64-1.16.0.msi>
 
  You *must* install the MSVC variants of GStreamer, not the MinGW64 variants!