Get computer name/hostname

It provides the computer name where running. Useful for customizing scripts depending on the machine
4,2K descargas
Actualizado 12 dic 2013

Ver licencia

GETCOMPUTERNAME is a very simple but useful function to get your computer name, i.e. the hostname.

Example:

> mycomputer = getComputerName();

Citar como

Manuel Marin (2024). Get computer name/hostname (https://www.mathworks.com/matlabcentral/fileexchange/16450-get-computer-name-hostname), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R14SP3
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Oceanography and Hydrology en Help Center y MATLAB Answers.
Agradecimientos

Inspiración para: getUserName

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.1.0.0

As suggested by some users, insignificant whitespaces are removed.

1.0.0.0

Summary updated