HEADER_hostid = char(hostid);
조회 수: 6 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
답변 (1개)
Madhu Govindarajan
2015년 10월 26일
댓글 수: 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.
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!