installing the latest psychtoolbox on win 7 with matlab r2011b gave me the following error, which says that the classpath file needs write access. however, the actual error is on a line that copies that file within its directory, so one actually needs write access to the folder (and doesn't have it by default).
Could not update the Matlab JAVA classpath.txt file due to the following error:
Error using PsychtoolboxPostInstallRoutine (line 499)
Could not make a backup copy of Matlab's JAVA path definition file 'classpath.txt'.\nThe system reports: Access is denied.
Either you have a very old Matlab version which does not support JAVA or, most
likely, you do not have sufficient access permissions for the Matlab application folder
to change the file C:\Program Files (x86)\MATLAB\R2011b\toolbox\local\classpath.txt .
Please ask the system administrator to enable write-access to that file and repeat the
update procedure.
also, pnet is failing to send the registration information:
Online Registration: Will try to transmit the following string of data
to the www.psychtoolbox.org website for statistical purpose:
<MACID>[REDACTED]</MACID><OS>Windows-Microsoft Windows 7 Version 6.1 (Build 7601: Service Pack 1)</OS><ENVIRONMENT>Matlab</ENVIRONMENT><ENVVERSION>7.13.0.564 (R2011b)</ENVVERSION><ENVARCH>PCWIN</ENVARCH><CPUARCH>Intel</CPUARCH><FLAVOR>beta</FLAVOR><ISUPDATE>1</ISUPDATE><DATE>07-Sep-2011</DATE>
Type 'help PsychtoolboxRegistration' at the Matlab/Octave command prompt
to learn about the purpose and scope of online registration.
Type 'type PsychtoolboxRegistration' to see the source code of this routine.
Data transfer can take up to 10 seconds... The system reports:
===============================================================================
Loaded pnet MEX-file for the tcp/udp/ip-toolbox Compiled @ May 24 2008 09:59:50
Version 2.0.5 2003-09-16
Copyright (C) Peter RydesÂter, Sweden, et al. , 1998 - 2003
GNU General Public License, se license.txt for full license notis.
You are allowed to (dynamicaly) link this file with non-free code.
http://www.rydesater.com
===============================================================================
Failed! Anyway, this does not affect your use of PTB in any way,
only our statistics about usage will be inaccurate :(
but this just appears to be because your server is down, not because pnet isn't working on win7.
Reply from 130.91.74.5: bytes=32 time=88ms TTL=50
-1
0
Could not update the Matlab JAVA classpath.txt file due to the following error:
Error using PsychtoolboxPostInstallRoutine (line 499)
Could not make a backup copy of Matlab's JAVA path definition file 'classpath.txt'.\nThe system reports: Access is denied.
Either you have a very old Matlab version which does not support JAVA or, most
likely, you do not have sufficient access permissions for the Matlab application folder
to change the file C:\Program Files (x86)\MATLAB\R2011b\toolbox\local\classpath.txt .
Please ask the system administrator to enable write-access to that file and repeat the
update procedure.
also, pnet is failing to send the registration information:
Online Registration: Will try to transmit the following string of data
to the www.psychtoolbox.org website for statistical purpose:
<MACID>[REDACTED]</MACID><OS>Windows-Microsoft Windows 7 Version 6.1 (Build 7601: Service Pack 1)</OS><ENVIRONMENT>Matlab</ENVIRONMENT><ENVVERSION>7.13.0.564 (R2011b)</ENVVERSION><ENVARCH>PCWIN</ENVARCH><CPUARCH>Intel</CPUARCH><FLAVOR>beta</FLAVOR><ISUPDATE>1</ISUPDATE><DATE>07-Sep-2011</DATE>
Type 'help PsychtoolboxRegistration' at the Matlab/Octave command prompt
to learn about the purpose and scope of online registration.
Type 'type PsychtoolboxRegistration' to see the source code of this routine.
Data transfer can take up to 10 seconds... The system reports:
===============================================================================
Loaded pnet MEX-file for the tcp/udp/ip-toolbox Compiled @ May 24 2008 09:59:50
Version 2.0.5 2003-09-16
Copyright (C) Peter RydesÂter, Sweden, et al. , 1998 - 2003
GNU General Public License, se license.txt for full license notis.
You are allowed to (dynamicaly) link this file with non-free code.
http://www.rydesater.com
===============================================================================
Failed! Anyway, this does not affect your use of PTB in any way,
only our statistics about usage will be inaccurate :(
but this just appears to be because your server is down, not because pnet isn't working on win7.
>> !ping platypus.psych.upenn.eduPinging scallop.psych.upenn.edu [130.91.74.5] with 32 bytes of data:
Reply from 130.91.74.5: bytes=32 time=88ms TTL=50
>> con=pnet('tcpconnect', 'platypus.psych.upenn.edu', 2000)con =
-1
>> con=pnet('tcpconnect','132.239.158.177',8080)con =
0