ProcessLauncher
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
引用
Ivar Eskerud Smith (2025). ProcessLauncher (https://www.mathworks.com/matlabcentral/fileexchange/55687-processlauncher), MATLAB Central File Exchange. に取得済み.
MATLAB リリースの互換性
プラットフォームの互換性
Windows macOS Linuxカテゴリ
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!バージョン | 公開済み | リリース ノート | |
---|---|---|---|
1.0.0.0 |