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

조회 수: 28 (최근 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 CenterFile Exchange에서 Introduction 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