MATLAB Answers

Check number of windows prompt open

22 views (last 30 days)
FastCar
FastCar on 23 Jan 2020
Edited: Walter Roberson on 5 Feb 2020
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
Windows prompt? Do you mean like CMD.EXE or PowerShell executing? And waiting for input?
FastCar
FastCar on 23 Jan 2020
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
system('tasklist') with appropriate command line options.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!