3
% From MATLAB documentation:
5
% When MATLAB quits, it runs a script called finish.m, if it exists and
6
% is on the MATLAB search path or in the current directory. This is a
7
% file that you create yourself in order to have MATLAB perform any final
8
% tasks just prior to terminating.
10
% OS X: ___________________________________________________________________
12
% Finish checks to see if the OS X update process is running and restarts
13
% it if it is not. Priority and Rush shut down the update process when
14
% raising Priority above 0.
16
% OS 9: ___________________________________________________________________
18
% The Psychtoolbox does not provide finish.m.
20
% WINDOWS:_________________________________________________________________
22
% The Psychtoolbox does not provide finish.m.
24
% _________________________________________________________________________
26
% see also: PsychPriority, PsychRush, IsUpdateRunning, IsStartUpdateImplantedInFinish
31
% Try restarting update process if needed. As of OS/X 10.4.7, this
32
% is not needed anymore...
35
% No op. Matlab is about to shut down, so no point outputting any