Dear Mario,
Thank you very much for your help. It works after running SetupPsychtoolbox (I also checked your suggestions a-c, and the Screen.dll file is on the matlab path before I ran SetupPsychtoolbox)!
So, the file SetupPsychtoolbox did not run during the installation? Or I did sth wrong when I installed Psychtoolbox? (The instructions on the website does not say the file SetupPsychtoolbox should be run separately after installation)
Thanks anyway, it works now!
All the best,
Meng
Thank you very much for your help. It works after running SetupPsychtoolbox (I also checked your suggestions a-c, and the Screen.dll file is on the matlab path before I ran SetupPsychtoolbox)!
So, the file SetupPsychtoolbox did not run during the installation? Or I did sth wrong when I installed Psychtoolbox? (The instructions on the website does not say the file SetupPsychtoolbox should be run separately after installation)
Thanks anyway, it works now!
All the best,
Meng
----- 原始邮件
----
发件人: Mario Kleiner <mario.kleiner@...>
收件人: psychtoolbox@yahoogroups.com
已发送: 2007/11/6(周二), 下午2:28:33
主题: [psychtoolbox] Re: Error when using Screen on Matlab 7.2.0.232 (R2006a)
发件人: Mario Kleiner <mario.kleiner@...>
收件人: psychtoolbox@yahoogroups.com
已发送: 2007/11/6(周二), 下午2:28:33
主题: [psychtoolbox] Re: Error when using Screen on Matlab 7.2.0.232 (R2006a)
So did you follow the displayed suggestions?
a) Do you have a Screen.dll file in the Psychtoolbox folder?
b) Is it on your Matlab path ("which Screen.dll" to check this)?
c) Do you have read and execute permissions to the file?
Does it work after running "SetupPsychtoolbox" - at least
until you restart Matlab?
-mario
--- In psychtoolbox@ yahoogroups. com, "liangmeng_qd" <liangmeng_qd@ ...> wrote:
>
> Dear all,
>
> I am a new user and currently have a problem on how to use
> Psychtoolbox. I have installed PTB3, but every time I try to run the
> command 'Screen' on Matlab 7.2, I got the following msg and error:
>
> ========
>
> In place of the expected mex file this placeholder file was executed:
>
> Screen
>
> This mex file seems to be missing or inaccessible on your
> Matlab/Octave path or it is dysfunctional:
>
> Screen.dll
>
> A reason could be insufficient access permissions or
> some missing 3rd party libraries on your system.
>
> On Microsoft Windows with recent Matlab versions (>= V7.4) it could
> also be that
> the required Visual C++ 2005 runtime libraries are missing on your system.
> Visit http://www.mathwork s.com/support/ solutions/ data/1-2223MW. html
> for instructions how to
> fix this problem. After fixing the problem, retry.
>
> ??? Error using ==> AssertMex
> Missing or dysfunctional Psychtoolbox Mex file for this operating
> system. Read the help text above carefully!!
>
> Error in ==> Screen at 162
> AssertMex;
> ========
>
> Did anybody have the same problem? Any suggestion would be greatly
> appreciated!
>
> Thanks,
>
> Meng
>
雅虎邮箱,终生伙伴!