MATLAB Answers

Check number of windows prompt open

27 views (last 30 days)
FastCar
FastCar on 23 Jan 2020 at 23:44
Edited: Walter Roberson on 5 Feb 2020 at 20:15
Dear all,
Is there a way to check in matlab if there is any open windows propmt on the current PC?
Best regards

  3 Comments

Walter Roberson
Walter Roberson on 23 Jan 2020 at 23:48
Windows prompt? Do you mean like CMD.EXE or PowerShell executing? And waiting for input?
FastCar
FastCar on 23 Jan 2020 at 23:53
Dear Walter,
I mean number of window of cmd.exe. I do not need to wait for the input, but I need to decide if I can execute another command.
Thanks
Walter Roberson
Walter Roberson on 24 Jan 2020 at 1:13
system('tasklist') with appropriate command line options.

Sign in to comment.

Accepted Answer

More Answers (0)

Sign in to answer this question.


Translated by