/usr/share/psychtoolbox-3/PsychInitialize/finish.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 | % finish
%
% From MATLAB documentation:
%
% When MATLAB quits, it runs a script called finish.m, if it exists and
% is on the MATLAB search path or in the current directory. This is a
% file that you create yourself in order to have MATLAB perform any final
% tasks just prior to terminating.
%
% OS X: ___________________________________________________________________
%
% Finish checks to see if the OS X update process is running and restarts
% it if it is not. Priority and Rush shut down the update process when
% raising Priority above 0.
%
% OS 9: ___________________________________________________________________
%
% The Psychtoolbox does not provide finish.m.
%
% WINDOWS:_________________________________________________________________
%
% The Psychtoolbox does not provide finish.m.
%
% _________________________________________________________________________
%
% see also: PsychPriority, PsychRush, IsUpdateRunning, IsStartUpdateImplantedInFinish
if(IsOSX)
try
% Try restarting update process if needed. As of OS/X 10.4.7, this
% is not needed anymore...
StartUpdateProcess;
catch
% No op. Matlab is about to shut down, so no point outputting any
% warning here...
end
end
|