HEADER_hostid = char(hostid);
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Madhu Govindarajan
am 26 Okt. 2015
1 Kommentar
Kirby Fears
am 26 Okt. 2015
Bearbeitet: Kirby Fears
am 26 Okt. 2015
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.
Siehe auch
Kategorien
Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!