priority

Change the priority of the MATLAB Process programatically.

You are now following this Submission

**WINDOWS only - must be compiled before use**

If you want to do some heavy processing and you don't want your computer to get all sluggish whilst it's going on, you can use this tool thusly:

pri=priority('l') % set priority to low
<do processing>
priority(pri) % set it back

Cite As

Ben Mitch (2026). priority (https://www.mathworks.com/matlabcentral/fileexchange/1841-priority), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.5.0.0

Added self-compile option.

1.4.0.0

Updated to provide self-compile for platforms for which binaries are not supplied.

1.3.0.0

whoops - editor, please use this file, not the one i sent five mins ago :)

1.2.0.0

2008-09-19 V2 removed restriction on "h" (high) priority as requested

1.1.0.0

Added source code, and binary for R2007b (latter uses .NET).

1.0.0.0