How to use MATLAB to determine if an exe process exist?

29 Ansichten (letzte 30 Tage)
jason lee
jason lee am 18 Nov. 2020
Bearbeitet: Jakob am 18 Nov. 2020
i want to use MATLAB to determine if 'mspaint.exe' is running on the system and return the status.
How could i complish this with MATLAB?

Akzeptierte Antwort

Jakob
Jakob am 18 Nov. 2020
Bearbeitet: Jakob am 18 Nov. 2020
[~,b] = system('tasklist');
IsRunning = contains(b, 'mspaint.exe'); %1, if is running / 0, if not

Weitere Antworten (0)

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by