フィルターのクリア

HEADER_hostid = char(hostid);

1 回表示 (過去 30 日間)
Mohammad Toorani
Mohammad Toorani 2015 年 10 月 26 日
編集済み: Kirby Fears 2015 年 10 月 26 日
Hi:
HEADER_hostid = char(hostid); was working in previous version of MATLAB and it is not recognized in recent version. What command can be used, within matlab macros, to identify the machine id? Best Regards
Mohammad Toorani

回答 (1 件)

Madhu Govindarajan
Madhu Govindarajan 2015 年 10 月 26 日
  1 件のコメント
Kirby Fears
Kirby Fears 2015 年 10 月 26 日
編集済み: Kirby Fears 2015 年 10 月 26 日
After choosing the command that applies to your OS (getmac for windows), you can get the results in Matlab using
[status, result] = system('getmac');
You might need to parse desired data out of result.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by