Get computer name/hostname

It provides the computer name where running. Useful for customizing scripts depending on the machine

Sie verfolgen jetzt diese Einreichung

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 .

Quellenangaben

Inspiriert: getUserName

Kategorien

Mehr zu Oceanography and Hydrology finden Sie in Help Center und MATLAB Answers

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit allen Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
1.1.0.0

As suggested by some users, insignificant whitespaces are removed.

1.0.0.0

Summary updated