>Hi Denis,dear david
>
>Remember those 2 errors I encountered? "strncmp" and "didn't find
>out PrepareScreen" ...
>
>It turns out that our original installation of Psychtoolbox 2.51 included:
>SCREEN.m and SCREEN.mex (note capitalization).
>I don't know if it was that way originally, or whether we loaded an
>update on top.
>
>Anyway, ... your updated files contain a "findstr" command that fails
>to find a case-sensitive match for "Screen.mex" in the string
>"which('Screen.mex')"
>
>I changed the name of the file to "Screen.mex" and the error/warning vanished.
>
>-- David
>
>>
>>ans=strncmp(which('PrepareScreen.m'),which('Screen.mex'), ...
>>findstr('Screen.mex',which('Screen.mex'))-1);
oh! yes, that makes sense. We changed the capitalization recently,
making the Psychtoolbox more consistent in its naming rules. the new
release is self-consistent so the problem won't arise. i also changed
the code slightly to not be case-dependent, so the problem will never
recur.
thanks! the strncmp mystery had puzzled me.
the new Screen.mex is enclosed.
best
denis