1
function resultFlag = IsWinMatlabR11Style
2
% resultFlag = IsWinMatlabR11Style
4
% Return true if Psychtoolbox is running on Microsoft Windows,
5
% with a Matlab version older than R2007a, i.e. using MEX files that
6
% are compiled against Matlab R11.
8
% See also: IsOSX, IsLinux, IsOS9, IsWin, OSName, computer
11
% 1/03/10 mk Wrote it.
16
% Running on Windows, but not on Octave (ie., on Matlab) and the Screen
17
% mex file has a .dll extension? If so we're on a R11 based system:
18
if IsWin & ~IsOctave & ~isempty(findstr(which('Screen'), 'Screen.dll')) %#ok<AND2>