Filter löschen
Filter löschen

Error using windows system command "wmic"

1 Ansicht (letzte 30 Tage)
Markus
Markus am 11 Dez. 2019
I want to run the standard windows dos command "wmic" within MATLAB:
[sts, commandout] = dos(' wmic path win32_perfformatteddata_perfproc_process GET IDProcess, Name, PercentProcessorTime /VALUE')
I receive the error: "WMIC: Unknown WMIC Exception."
When I run the command in the command shell, it works.

Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by