ProcessLauncher

Class to launch multiple detached processes, specifying how many threads to use.
40 Downloads
Updated 29 Feb 2016

View License

Class to launch multiple detached processes, specifying how many threads to use. When one process is finished, the next in the queue is started. The processes are started detached, and does not block matlab. It is possible to show the stderr and stdout streams in log windows in matlab, and to check the status of the running processes. Any running process can also be stopped. Can be used for instance if one wants to run many simulations, but one only wants to run a certain number of threads/simulations at the same time. Note that showing the output from a process that prints very often to screen can be quite slow.
The input to the ProcessLauncher object is a cellstring of commands to run.
Inspired by:
https://github.com/brian-lau/MatlabProcessManager/blob/master/processManager.m

Cite As

Ivar Eskerud Smith (2024). ProcessLauncher (https://www.mathworks.com/matlabcentral/fileexchange/55687-processlauncher), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Big Data Processing in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0