This file is indexed.

/usr/share/psychtoolbox-3/PsychHardware/CMClose.m is in psychtoolbox-3-common 3.0.9+svn2579.dfsg1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
function CMClose(meterType)
% CMClose([meterType])
%
% Close color meter interface.
%
% meterType 1 is the PR650 (default)
% meterType 2 is the CVI (need CVIToolbox)
% meterType 3 is the CRS Colorimeter
% meterType 4 is the PR655
%
% 2/15/02  dhb  Wrote it.
% 4/13/02  dgp	Cosmetic.
% 2/26/03  dhb  Added more meter types. 
% 3/27/03  dhb, jmh  Fix up default argument.
% 2/07/09  mk, tbc  Add PR-655 support.

% Set default meterType.
if nargin < 1 || isempty(meterType)
  meterType = 1;
end

switch meterType
	case 1
		% PR-650
		if IsWin || IsOS9 || IsOSX || IsLinux
			PR650close;
		else
			error(['Unsupported OS ' computer]);
		end
	case 2
		if ~exist('CVIClose') %#ok<EXIST>
			error('Need CVIToolbox to call CVIClose (meterType 2)');
		end
		CVIClose;
	case 3
		CRSColorClose;
	case 4
		% PR-655
		if IsWin || IsOS9 || IsOSX || IsLinux
			PR655close;
		else
			error(['Unsupported OS ' computer]);
		end
	otherwise,
		error('Unknown meter type');
end