3.75

3.8 | 4 ratings Rate this file 10 Downloads (last 30 days) File Size: 2.04 KB File ID: #7815

Windows command line MATLAB process priority

by Michael Kleder

 

08 Jun 2005 (Updated 09 Jun 2005)

Set the priority of your MATLAB session in Windows.

| Watch this File

File Information
Description

I've seen many questions on how to run MATLAB in Windows with a process priority other than "normal."

During long calculations on single-processor machines, it would be nice to reduce the priority of the MATLAB process so that you can get other work done. Also, it would be nice to set the priority to "realtime" for benchmarking. The attached text file gives very simple directions for setting this up in windows.

It's just text, but you'll need to download the attached file in order to obtain the instructions for two reasons:

(1) so that the instructions are easier to cut-and-paste as needed.
(2) so that the Mathworks can keep track of the number of people who are interested in this topic.

(I have tested this on Windows XP, but it is supposed to work on Windows NT and Windows 2000 as well.)

MATLAB release MATLAB 7.0.1 (R14SP1)
Other requirements Windows platforms only. Tested on Windows XP; supposed to work for Windows NT and Windows 2000.
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (5)
10 Jun 2005 Jonathan Archer

In addition, one can of course always change the priority of the MATLAB.exe process while it is running, using Task Manager.

10 Jun 2005 Rezaul Karim Reza

see priority:
http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=1841&objectType=file

you can do this on the fly before running long calculation. but this is a mex implementation. I am curious if an M-file version of pririty.dll is available!

13 Jun 2005 Tony Xia

It is helpful.
Thanks.

13 Jul 2005 Thomas Frisk

My system crashed on me after I changed the priority of Matlab when it was already running. That won't happen again, thank you.

02 Nov 2008 ben payne

Hello. I like starting processes from Start -> Run, so instead of using just
Start -> Run -> matlab
try
Start -> Run -> cmd /c start /belownormal matlab /nosplash

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
development environment Michael Kleder 22 Oct 2008 07:50:15
windows command Michael Kleder 22 Oct 2008 07:50:15
matlab Michael Kleder 22 Oct 2008 07:50:15
process priority Michael Kleder 22 Oct 2008 07:50:15
utilities Michael Kleder 22 Oct 2008 07:50:15

Contact us at files@mathworks.com