Borrar filtros
Borrar filtros

HEADER_hostid = char(hostid);

1 visualización (últimos 30 días)
Mohammad Toorani
Mohammad Toorani el 26 de Oct. de 2015
Editada: Kirby Fears el 26 de Oct. de 2015
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

Respuestas (1)

Madhu Govindarajan
Madhu Govindarajan el 26 de Oct. de 2015
  1 comentario
Kirby Fears
Kirby Fears el 26 de Oct. de 2015
Editada: Kirby Fears el 26 de Oct. de 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.

Iniciar sesión para comentar.

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by