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
Zitieren als
Ivar Eskerud Smith (2024). ProcessLauncher (https://www.mathworks.com/matlabcentral/fileexchange/55687-processlauncher), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |