ProcessLauncher

Class to launch multiple detached processes, specifying how many threads to use.

Vous suivez désormais cette soumission

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

Citation pour cette source

Ivar Eskerud Smith (2026). ProcessLauncher (https://fr.mathworks.com/matlabcentral/fileexchange/55687-processlauncher), MATLAB Central File Exchange. Extrait(e) le .

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0