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 (2024). 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 |