Get computer name/hostname

It provides the computer name where running. Useful for customizing scripts depending on the machine
4,2K Downloads
Aktualisiert 12. Dez 2013

Lizenz anzeigen

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

Example:

> mycomputer = getComputerName();

Zitieren als

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

Kompatibilität der MATLAB-Version
Erstellt mit R14SP3
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Oceanography and Hydrology finden Sie in Help Center und MATLAB Answers
Quellenangaben

Inspiriert: getUserName

Version Veröffentlicht Versionshinweise
1.1.0.0

As suggested by some users, insignificant whitespaces are removed.

1.0.0.0

Summary updated