No BSD License  

Highlights from
SetPriority

from SetPriority by Shen Chunhua
Set process priority of MATLAB.

SetPriority(P)
function SetPriority(P)
% SetPriority:  Set Process Priority of Matlab 
%      SetPriority(P), P is string which can be 'RealTime' or 'RT' 
%                                               'High' or 'H'
%                                               'AboveNormal' or 'AN' 
%                                               'Normal' or 'N'  
%                                               'BelowNormal' or 'BN' 
%                                               'Low' or 'L' 
% Tested on WIN2000,WINXP + MATLAB R13, Generic DLL Module required which can 
% be downloaded from MATHWORKS' website.
% Chunhua SHEN (chhshen@hotmail.com), 12-Feb-2003

if nargin ~= 1
	help SetPriority;
	return;
end

loadlibrary DLLPriority DLLPriority.h alias SetP
%P = 'LOW';
msg = calllib('SetP','prioritySet',P);
disp(msg);
unloadlibrary SetP

Contact us at files@mathworks.com