Azzera filtri
Azzera filtri

Error using windows system command "wmic"

1 visualizzazione (ultimi 30 giorni)
Markus
Markus il 11 Dic 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.

Risposte (0)

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by