Problem extracting data from dos command.
Afficher commentaires plus anciens
I managed to obtain a string using
data = evalc('!netstat -s -p UDP')
However, when I tried to use sscanf, all I got was '' .
received = sscanf(data,'Datagrams Received = %d') received =
''
Did I do something wrong or did I miss a step? Or is there another method?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Characters and Strings dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!