Get computer name/hostname
Versione 1.1.0.0 (1,26 KB) da
Manuel Marin
It provides the computer name where running. Useful for customizing scripts depending on the machine
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 LinuxCategorie
Scopri di più su Oceanography and Hydrology in Help Center e MATLAB Answers
Tag
Riconoscimenti
Ispirato: getUserName
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.