フィルターのクリア

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

27 ビュー (過去 30 日間)
jason lee
jason lee 2020 年 11 月 18 日
編集済み: Jakob 2020 年 11 月 18 日
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?

採用された回答

Jakob
Jakob 2020 年 11 月 18 日
編集済み: Jakob 2020 年 11 月 18 日
[~,b] = system('tasklist');
IsRunning = contains(b, 'mspaint.exe'); %1, if is running / 0, if not

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by