HEADER_hostid = char(hostid);
显示 更早的评论
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
2015-10-26
0 个投票
1 个评论
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.
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!