Get computer name/hostname

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

Visualizza la licenza

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

Example:

> mycomputer = getComputerName();

Cita come

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

Compatibilità della release di MATLAB
Creato con R14SP3
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Oceanography and Hydrology in Help Center e MATLAB Answers
Riconoscimenti

Ispirato: getUserName

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.1.0.0

As suggested by some users, insignificant whitespaces are removed.

1.0.0.0

Summary updated