필터 지우기
필터 지우기

HEADER_hostid = char(hostid);

조회 수: 6 (최근 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 CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by