MAC アドレスを取得する方法はありますか?
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Windows マシンで MAC アドレスを取得する方法を教えてください。また、変数にアドレスを格納する方法も教えてください。
Risposta accettata
MathWorks Support Team
il 23 Lug 2012
DOS 関数を使用し、getmac を実行してください。DOS 関数の第二出力引数に getmac の内容が格納されます。アドレス部分を指定してご利用ください。
[status,result] = dos('getmac');
mac = result(146:164)
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Engines & Motors in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!